Fix: Canned label const types.

We had a syntax error whereby canned label names were not LabelName.
This commit is contained in:
Matt T. Proud 2013-06-22 13:27:28 +02:00
parent 6b26678f98
commit 5cadb31d7c
1 changed files with 2 additions and 2 deletions

View File

@ -23,10 +23,10 @@ const (
ExporterLabelPrefix LabelName = "exporter_"
// 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.
JobLabel = "job"
JobLabel LabelName = "job"
)
// A LabelName is a key for a LabelSet or Metric. It has a value associated