Add ParamLabelPrefix for relabelling of query params.

This commit is contained in:
Brian Brazil 2015-07-28 16:40:47 +01:00
parent 3b16b46a71
commit 8e361b05f1
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"