Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationScrape identifies that an object has Prometheus metrics data. AnnotationScrape = "prometheus.io/scrape" // AnnotationPort tells Prometheus which port to scrape metrics. AnnotationPort = "prometheus.io/port" // AnnotationScheme tells Prometheus which http scheme to use when scraping metrics. AnnotationScheme = "prometheus.io/scheme" // AnnotationPath tells Prometheus which path to scrape metrics. AnnotationPath = "prometheus.io/path" // AnnotationToken tells Prometheus which token to use when scraping. AnnotationToken = "prometheus.io/token" )
View Source
const ( // ScrapeTrue enables Prometheus scraping. ScrapeTrue = "true" // ScrapeFalse disables Prometheus scraping. ScrapeFalse = "false" )
View Source
const (
// SchemeHTTPS uses secure connections when scraping.
SchemeHTTPS = "https"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.