forked from mirror/client_golang
Add ParamLabelPrefix for relabelling of query params.
This commit is contained in:
parent
3b16b46a71
commit
8e361b05f1
|
@ -46,6 +46,10 @@ const (
|
||||||
// will not be attached to time series.
|
// will not be attached to time series.
|
||||||
MetaLabelPrefix = "__meta_"
|
MetaLabelPrefix = "__meta_"
|
||||||
|
|
||||||
|
// ParamLabelPrefix is a prefix for labels that provide URL parameters
|
||||||
|
// used to scrape a target.
|
||||||
|
ParamLabelPrefix = "__param_"
|
||||||
|
|
||||||
// JobLabel is the label name indicating the job from which a timeseries
|
// JobLabel is the label name indicating the job from which a timeseries
|
||||||
// was scraped.
|
// was scraped.
|
||||||
JobLabel LabelName = "job"
|
JobLabel LabelName = "job"
|
||||||
|
|
Loading…
Reference in New Issue