aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prometheus.scm3
1 files changed, 3 insertions, 0 deletions
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