flags

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ListenAddress = kingpin.Flag("listen", "Listen address - ip:port or :port").Default("127.0.0.1:10301").Envar("LISTEN").String()
	CorootURL     = kingpin.Flag("coroot-url", "Coroot URL").Envar("COROOT_URL").URL()
	APIKey        = kingpin.Flag("api-key", "Coroot API key").Envar("API_KEY").String()

	ConfigUpdateInterval = kingpin.Flag("config-update-interval", "").Envar("CONFIG_UPDATE_INTERVAL").Default("60s").Duration()
	ConfigUpdateTimeout  = kingpin.Flag("config-update-timeout", "").Envar("CONFIG_UPDATE_TIMEOUT").Default("10s").Duration()

	MetricsScrapeInterval = kingpin.Flag("metrics-scrape-interval", "").Envar("METRICS_SCRAPE_INTERVAL").Duration()
	MetricsScrapeTimeout  = kingpin.Flag("metrics-scrape-timeout", "").Envar("METRICS_SCRAPE_TIMEOUT").Default("10s").Duration()
	MetricsWALDir         = kingpin.Flag("metrics-wal-dir", "").Envar("METRICS_WAL_DIR").Default("/tmp").String()

	ProfilesScrapeInterval = kingpin.Flag("profiles-scrape-interval", "").Envar("PROFILES_SCRAPE_INTERVAL").Default("60s").Duration()
	ProfilesScrapeTimeout  = kingpin.Flag("profiles-scrape-timeout", "").Envar("PROFILES_SCRAPE_TIMEOUT").Default("10s").Duration()

	KubeStateMetricsAddress = kingpin.Flag("kube-state-metrics-address", "").Envar("KUBE_STATE_METRICS_ADDRESS").String()
)

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