Skip to content

Commit a7b2419

Browse files
committed
Merge pull request #112 from fabxc/labelnames
Add metrics path label.
2 parents 608ec8b + 05b0810 commit a7b2419

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

model/labelname.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ const (
3030
// a scrape target.
3131
AddressLabel LabelName = "__address__"
3232

33+
// MetricsPathLabel is the name of the label that holds the path on which to
34+
// scrape a target.
35+
MetricsPathLabel LabelName = "__metrics_path__"
36+
3337
// ReservedLabelPrefix is a prefix which is not legal in user-supplied
3438
// label names.
3539
ReservedLabelPrefix = "__"

0 commit comments

Comments
 (0)