mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
878ba96a70
commit
e062fa1d7e
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user