Explorar o código

Increase threashold to 1s

Niko Kovacevic %!s(int64=6) %!d(string=hai) anos
pai
achega
0ed9e0221f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      costmodel/costmodel.go

+ 1 - 1
costmodel/costmodel.go

@@ -28,7 +28,7 @@ import (
 const (
 	statusAPIError = 422
 
-	profileThreshold = 500 * 1000 * 1000 // 500ms (in ns)
+	profileThreshold = 1000 * 1000 * 1000 // 1s (in ns)
 
 	apiPrefix         = "/api/v1"
 	epAlertManagers   = apiPrefix + "/alertmanagers"