Merge pull request #149 from prometheus/param-prefix

Add ParamLabelPrefix for relabelling of query params.
This commit is contained in:
Brian Brazil 2015-07-28 17:34:00 +01:00
commit 3a499bf7fc
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ const (
// will not be attached to time series.
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
// was scraped.
JobLabel LabelName = "job"