Fix metric # TYPE for histograms
This commit is contained in:
parent
fba2005362
commit
6d9f8c57eb
1 changed files with 4 additions and 1 deletions
|
|
@ -388,7 +388,10 @@ so that it can receive and store the metric values."
|
|||
docstring)))
|
||||
|
||||
(simple-format port "# TYPE ~A ~A\n"
|
||||
full-name (metric-type metric))
|
||||
full-name
|
||||
(match (metric-type metric)
|
||||
((? histogram-metric-type? type) 'histogram)
|
||||
(type type)))
|
||||
|
||||
(hash-for-each
|
||||
(lambda (label-values value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue