From 0b22a8760cd9ed5f9a0a855a0ef62bab88e46067 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 10 Dec 2020 09:52:06 +0000 Subject: Add the _bucket suffix to metric lines for histograms --- prometheus.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus.scm b/prometheus.scm index bae0695..2a181f8 100644 --- a/prometheus.scm +++ b/prometheus.scm @@ -459,7 +459,7 @@ so that it can receive and store the metric values." (hash-for-each (lambda (label-values value) (for-each (lambda (index bucket) - (write-line full-name + (write-line (string-append full-name "_bucket") `(,@label-values (le . ,(if (inf? bucket) "+Inf" -- cgit v1.2.3