Răsfoiți Sursa

Increase threashold to 1s

Niko Kovacevic 6 ani în urmă
părinte
comite
0ed9e0221f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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"