Fix: Canned label const types.
We had a syntax error whereby canned label names were not LabelName.
This commit is contained in:
parent
6b26678f98
commit
5cadb31d7c
|
@ -23,10 +23,10 @@ const (
|
||||||
ExporterLabelPrefix LabelName = "exporter_"
|
ExporterLabelPrefix LabelName = "exporter_"
|
||||||
|
|
||||||
// The label name indicating the metric name of a timeseries.
|
// The label name indicating the metric name of a timeseries.
|
||||||
MetricNameLabel = "name"
|
MetricNameLabel LabelName = "name"
|
||||||
|
|
||||||
// The label name indicating the job from which a timeseries was scraped.
|
// The label name indicating the job from which a timeseries was scraped.
|
||||||
JobLabel = "job"
|
JobLabel LabelName = "job"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A LabelName is a key for a LabelSet or Metric. It has a value associated
|
// A LabelName is a key for a LabelSet or Metric. It has a value associated
|
||||||
|
|
Loading…
Reference in New Issue