From 5cadb31d7c48d7f637caece6510b6c2190cf66e3 Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Sat, 22 Jun 2013 13:27:28 +0200 Subject: [PATCH] Fix: Canned label const types. We had a syntax error whereby canned label names were not LabelName. --- model/labelname.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/labelname.go b/model/labelname.go index 646c3db..08a0b29 100644 --- a/model/labelname.go +++ b/model/labelname.go @@ -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