prometheus

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: GPL-3.0 Imports: 1 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"
)
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

func Path

func Path(path, token string) string

Path for scraping metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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