mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-16 09:36:18 +02:00
Initialize buffer_size_bytes metric by exponential buckets (#537)
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user