Add metrics path label.

This commit is contained in:
Fabian Reinartz 2015-04-28 23:22:11 +02:00
parent 642f761a3c
commit 05b08108b4
1 changed files with 4 additions and 0 deletions

View File

@ -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 = "__"