Skip to content

Commit 05b0810

Browse files
committed
Add metrics path label.
1 parent 642f761 commit 05b0810

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)