Skip to content

Commit

Permalink
Merge pull request #71 from ShimmerGlass/query-exec-time-range
Browse files Browse the repository at this point in the history
metrics: increase go_graphkb_graph_query_execution_time_ms
  • Loading branch information
ShimmerGlass authored Jun 2, 2022
2 parents dd26f2c + 97b6e71 commit 248e436
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 248e436

Please sign in to comment.