From 05b08108b48900047f618749fff34388c15be817 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Tue, 28 Apr 2015 23:22:11 +0200 Subject: [PATCH] Add metrics path label. --- model/labelname.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/labelname.go b/model/labelname.go index 4abe2f2..a283132 100644 --- a/model/labelname.go +++ b/model/labelname.go @@ -30,6 +30,10 @@ const ( // a scrape target. AddressLabel LabelName = "__address__" + // MetricsPathLabel is the name of the label that holds the path on which to + // scrape a target. + MetricsPathLabel LabelName = "__metrics_path__" + // ReservedLabelPrefix is a prefix which is not legal in user-supplied // label names. ReservedLabelPrefix = "__"