Automatically add a _ after the namespace

If one is specified. I think this is a more reasonable default
behaviour.
This commit is contained in:
Christopher Baines 2020-08-31 14:43:01 +01:00
parent 5acbc44d2d
commit 3df4221c47

View file

@ -282,7 +282,9 @@
(simple-format (simple-format
port port
"~A~A~A ~A\n" "~A~A~A ~A\n"
(or (metrics-registry-namespace registry) (or (and=> (metrics-registry-namespace registry)
(lambda (namespace)
(string-append namespace "_")))
"") "")
name name
(if (null? label-values) (if (null? label-values)