Automatically add a _ after the namespace
If one is specified. I think this is a more reasonable default behaviour.
This commit is contained in:
parent
5acbc44d2d
commit
3df4221c47
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue