mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
Initialize buffer_size_bytes metric by exponential buckets (#537)
This commit is contained in:
parent
06d81959d3
commit
f351909b99
@ -65,6 +65,7 @@ func initPrometheus() {
|
||||
Namespace: conf.PrometheusNamespace,
|
||||
Name: "buffer_size_bytes",
|
||||
Help: "A histogram of the buffer size in bytes.",
|
||||
Buckets: prometheus.ExponentialBuckets(1024, 2, 14),
|
||||
}, []string{"type"})
|
||||
|
||||
prometheusBufferDefaultSize = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
|
Loading…
Reference in New Issue
Block a user