forked from mirror/client_golang
Add metrics path label.
This commit is contained in:
parent
642f761a3c
commit
05b08108b4
|
@ -30,6 +30,10 @@ const (
|
||||||
// a scrape target.
|
// a scrape target.
|
||||||
AddressLabel LabelName = "__address__"
|
AddressLabel LabelName = "__address__"
|
||||||
|
|
||||||
|
// MetricsPathLabel is the name of the label that holds the path on which to
|
||||||
|
// scrape a target.
|
||||||
|
MetricsPathLabel LabelName = "__metrics_path__"
|
||||||
|
|
||||||
// ReservedLabelPrefix is a prefix which is not legal in user-supplied
|
// ReservedLabelPrefix is a prefix which is not legal in user-supplied
|
||||||
// label names.
|
// label names.
|
||||||
ReservedLabelPrefix = "__"
|
ReservedLabelPrefix = "__"
|
||||||
|
|
Loading…
Reference in New Issue