From babaf53025f09b081a14f4f4d2adc2561424f91c Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Wed, 12 Aug 2015 10:34:26 +0100 Subject: [PATCH] Reserve a label prefix for use for temporary relabeling. --- model/labelname.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/model/labelname.go b/model/labelname.go index bcb8f89..79ffed2 100644 --- a/model/labelname.go +++ b/model/labelname.go @@ -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_"