Merge pull request #112 from fabxc/labelnames

Add metrics path label.
This commit is contained in:
Julius Volz 2015-04-29 22:31:28 +02:00
commit a7b24194e8
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 = "__"