Merge pull request #156 from jimmidyson/scheme-label
Add scheme as label to allow relabelling in discovery
This commit is contained in:
commit
61d4487606
|
@ -29,6 +29,10 @@ const (
|
||||||
// timeseries.
|
// timeseries.
|
||||||
MetricNameLabel LabelName = "__name__"
|
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
|
// AddressLabel is the name of the label that holds the address of
|
||||||
// a scrape target.
|
// a scrape target.
|
||||||
AddressLabel LabelName = "__address__"
|
AddressLabel LabelName = "__address__"
|
||||||
|
|
Loading…
Reference in New Issue