aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-10 09:52:06 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-10 09:52:06 +0000
commit0b22a8760cd9ed5f9a0a855a0ef62bab88e46067 (patch)
treef36a2e454352df0136703c9b2b0ce6c0433713a3
parent9d39235cc84407b662f509f72aa2ff64f779f676 (diff)
downloadprometheus-0b22a8760cd9ed5f9a0a855a0ef62bab88e46067.tar
prometheus-0b22a8760cd9ed5f9a0a855a0ef62bab88e46067.tar.gz
Add the _bucket suffix to metric lines for histograms
-rw-r--r--prometheus.scm2
1 files changed, 1 insertions, 1 deletions
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"