This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
Export labels when using the option "fieldtoappend" #207
Open
Description
When using the option fieldtoappend
, labels are not exported.
Seems like the solution is to change this line main.go:401
:
ch <- prometheus.MustNewConstMetric(desc, GetMetricType(metric, metricsType), value)
for
ch <- prometheus.MustNewConstMetric(desc, GetMetricType(metric, metricsType), value, labelsValues...)
Is there any limitation preventing the labels to be exported in this case?
Best/
Hampus
Metadata
Metadata
Assignees
Labels
No labels