RBAC: Change search permissions buckets to cover long searches (#80624)

* RBAC: Change search permissions histogram start and factor

* Add one bucket and lower start
This commit is contained in:
Gabriel MABILLE 2024-01-17 09:13:56 +01:00 committed by GitHub
parent 878ba96a70
commit e062fa1d7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -587,7 +587,7 @@ func init() {
MAccessSearchPermissionsSummary = prometheus.NewHistogram(prometheus.HistogramOpts{
Name: "access_search_permissions_duration",
Help: "Histogram for the runtime of permissions search function",
Buckets: prometheus.ExponentialBuckets(0.001, 4, 5),
Buckets: prometheus.ExponentialBuckets(0.001, 10, 6),
})
StatsTotalLibraryPanels = prometheus.NewGauge(prometheus.GaugeOpts{