forked from mirror/client_golang
Add scheme as label to allow relabelling in discovery
This commit is contained in:
parent
bd0bf27ade
commit
f05ca27805
|
@ -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