prometheus

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreDNS

type CoreDNS struct {
	Selector map[string]string `hcl:"selector,optional"`
}

CoreDNS holds information about how CoreDNS should be scraped.

type Grafana

type Grafana struct {
	AdminPassword string            `hcl:"admin_password,optional"`
	SecretEnv     map[string]string `hcl:"secret_env,optional"`
	Ingress       *types.Ingress    `hcl:"ingress,block"`
}

Grafana object collects sub component grafana related information.

type Monitor

type Monitor struct {
	Etcd                  bool `hcl:"etcd,optional"`
	KubeControllerManager bool `hcl:"kube_controller_manager,optional"`
	KubeScheduler         bool `hcl:"kube_scheduler,optional"`
	KubeProxy             bool `hcl:"kube_proxy,optional"`
	Kubelet               bool `hcl:"kubelet,optional"`
}

Monitor holds information about which Kubernetes components should be monitored with the default Prometheus instance.

type Prometheus added in v0.3.0

type Prometheus struct {
	MetricsRetention            string            `hcl:"metrics_retention,optional"`
	NodeSelector                map[string]string `hcl:"node_selector,optional"`
	StorageSize                 string            `hcl:"storage_size,optional"`
	WatchLabeledServiceMonitors bool              `hcl:"watch_labeled_service_monitors,optional"`
	WatchLabeledPrometheusRules bool              `hcl:"watch_labeled_prometheus_rules,optional"`
	Ingress                     *types.Ingress    `hcl:"ingress,block"`
	ExternalLabels              map[string]string `hcl:"external_labels,optional"`
}

Prometheus object collects sub component Prometheus related information.

Jump to

Keyboard shortcuts

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