Merge pull request #156 from jimmidyson/scheme-label

Add scheme as label to allow relabelling in discovery
This commit is contained in:
Fabian Reinartz 2015-08-06 12:42:33 +02:00
commit 61d4487606
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__"