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:
@@ -587,7 +587,7 @@ func init() {
|
|||||||
MAccessSearchPermissionsSummary = prometheus.NewHistogram(prometheus.HistogramOpts{
|
MAccessSearchPermissionsSummary = prometheus.NewHistogram(prometheus.HistogramOpts{
|
||||||
Name: "access_search_permissions_duration",
|
Name: "access_search_permissions_duration",
|
||||||
Help: "Histogram for the runtime of permissions search function",
|
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{
|
StatsTotalLibraryPanels = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||||
|
|||||||
Reference in New Issue
Block a user