From 8e361b05f1936031a40b0cd32ff1d551ddec55a8 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Tue, 28 Jul 2015 16:40:47 +0100 Subject: [PATCH] Add ParamLabelPrefix for relabelling of query params. --- model/labelname.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/labelname.go b/model/labelname.go index 7d071bd..f41b7ff 100644 --- a/model/labelname.go +++ b/model/labelname.go @@ -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"