Merge pull request #149 from prometheus/param-prefix
Add ParamLabelPrefix for relabelling of query params.
This commit is contained in:
commit
3a499bf7fc
|
@ -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