Skip to content

Commit

Permalink
metrics: increase go_graphkb_graph_query_execution_time_ms
Browse files Browse the repository at this point in the history
New histogram range: 100us to 30min
  • Loading branch information
ShimmerGlass committed Jun 2, 2022
1 parent dd26f2c commit 97b6e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var StartTimeGauge = promauto.NewGauge(prometheus.GaugeOpts{
var GraphQueryTimeExecution = promauto.NewHistogramVec(prometheus.HistogramOpts{
Name: "go_graphkb_graph_query_execution_time_ms",
Help: "The time execution in ms of queries.",
Buckets: []float64{1, 50, 75, 100, 500, 1000, 2500, 5000, 10000},
Buckets: prometheus.ExponentialBucketsRange(0.1, 1000*60*30, 15),
}, []string{})

// ********************* GRAPH METRICS ******************
Expand Down

0 comments on commit 97b6e71

Please sign in to comment.