Add scheme as label to allow relabelling in discovery

This commit is contained in:
Jimmi Dyson 2015-08-06 11:25:04 +01:00
parent bd0bf27ade
commit f05ca27805
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ const (
// timeseries.
MetricNameLabel LabelName = "__name__"
// SchemeLabel is the name of the label that holds the scheme on which to
// scrape a target.
SchemeLabel LabelName = "__scheme__"
// AddressLabel is the name of the label that holds the address of
// a scrape target.
AddressLabel LabelName = "__address__"