Upgrade to Go 1.18 and re-vendor dependencies

This commit is contained in:
arthur.barr@uk.ibm.com
2023-01-26 16:40:47 +00:00
committed by Arthur Barr
parent f2842d7eee
commit 5c4422badf
448 changed files with 32933 additions and 20696 deletions

View File

@@ -45,6 +45,14 @@ const (
// scrape a target.
MetricsPathLabel = "__metrics_path__"
// ScrapeIntervalLabel is the name of the label that holds the scrape interval
// used to scrape a target.
ScrapeIntervalLabel = "__scrape_interval__"
// ScrapeTimeoutLabel is the name of the label that holds the scrape
// timeout used to scrape a target.
ScrapeTimeoutLabel = "__scrape_timeout__"
// ReservedLabelPrefix is a prefix which is not legal in user-supplied
// label names.
ReservedLabelPrefix = "__"