Merge pull request #157 from prometheus/reserve-tmp

Reserve a label prefix for use for temporary relabeling.
This commit is contained in:
Fabian Reinartz 2015-08-12 21:58:35 +02:00
commit fa8495136c
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,12 @@ const (
// will not be attached to time series.
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
// used to scrape a target.
ParamLabelPrefix = "__param_"