Explorar el Código

Increase threashold to 1s

Niko Kovacevic hace 6 años
padre
commit
0ed9e0221f
Se han modificado 1 ficheros con 1 adiciones y 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"