From 81d8dda11862b9c2243cc88f21cce89e2e2ec840 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 29 Nov 2020 08:54:15 +0000 Subject: Write out the metric type --- prometheus.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prometheus.scm b/prometheus.scm index d6889e1..68336cf 100644 --- a/prometheus.scm +++ b/prometheus.scm @@ -383,6 +383,9 @@ so that it can receive and store the metric values." full-name docstring))) + (simple-format port "# TYPE ~A ~A\n" + full-name (metric-type metric)) + (hash-for-each (lambda (label-values value) (simple-format -- cgit v1.2.3