prometheus

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL