diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-10 09:52:06 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-10 09:52:06 +0000 |
commit | 0b22a8760cd9ed5f9a0a855a0ef62bab88e46067 (patch) | |
tree | f36a2e454352df0136703c9b2b0ce6c0433713a3 | |
parent | 9d39235cc84407b662f509f72aa2ff64f779f676 (diff) | |
download | prometheus-0b22a8760cd9ed5f9a0a855a0ef62bab88e46067.tar prometheus-0b22a8760cd9ed5f9a0a855a0ef62bab88e46067.tar.gz |
Add the _bucket suffix to metric lines for histograms
-rw-r--r-- | prometheus.scm | 2 |
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" |