Reserve a label prefix for use for temporary relabeling.
This commit is contained in:
parent
61d4487606
commit
babaf53025
|
@ -50,6 +50,12 @@ const (
|
||||||
// will not be attached to time series.
|
// will not be attached to time series.
|
||||||
MetaLabelPrefix = "__meta_"
|
MetaLabelPrefix = "__meta_"
|
||||||
|
|
||||||
|
// TmpLabelPrefix is a prefix for temporary labels as part of relabelling.
|
||||||
|
// Labels with this prefix are used for intermediate label processing and
|
||||||
|
// will not be attached to time series. This is reserved for use in
|
||||||
|
// Prometheus configuration files by users.
|
||||||
|
TmpLabelPrefix = "__tmp_"
|
||||||
|
|
||||||
// ParamLabelPrefix is a prefix for labels that provide URL parameters
|
// ParamLabelPrefix is a prefix for labels that provide URL parameters
|
||||||
// used to scrape a target.
|
// used to scrape a target.
|
||||||
ParamLabelPrefix = "__param_"
|
ParamLabelPrefix = "__param_"
|
||||||
|
|
Loading…
Reference in New Issue