Skip to content

Commit 3a13497

Browse files
author
Julien Pivotto
committed
Add scrape interval meta label
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
1 parent b4304c5 commit 3a13497

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

model/labels.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ const (
4545
// scrape a target.
4646
MetricsPathLabel = "__metrics_path__"
4747

48+
// ScrapeIntervalLabel is the name of the label that holds the scrape interval
49+
// used to scrape a target.
50+
ScrapeIntervalLabel = "__scrape_interval__"
51+
52+
// ScrapeTimeoutLabel is the name of the label that holds the scrape
53+
// timeout used to scrape a target.
54+
ScrapeTimeoutLabel = "__scrape_timeout__"
55+
4856
// ReservedLabelPrefix is a prefix which is not legal in user-supplied
4957
// label names.
5058
ReservedLabelPrefix = "__"

0 commit comments

Comments
 (0)