monitoring

package module
v0.73.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 16

Documentation

Index

Constants

View Source
const (
	PrometheusesKind = "Prometheus"
	PrometheusName   = "prometheuses"

	AlertmanagersKind = "Alertmanager"
	AlertmanagerName  = "alertmanagers"

	ServiceMonitorsKind = "ServiceMonitor"
	ServiceMonitorName  = "servicemonitors"

	PodMonitorsKind = "PodMonitor"
	PodMonitorName  = "podmonitors"

	PrometheusRuleKind = "PrometheusRule"
	PrometheusRuleName = "prometheusrules"

	ProbesKind = "Probe"
	ProbeName  = "probes"

	ScrapeConfigsKind = "ScrapeConfig"
	ScrapeConfigName  = "scrapeconfigs"
)

Variables

View Source
var (
	GroupName = "monitoring.coreos.com"
)

GroupName is set to var instead of const, since this provides the ability for clients importing the module - github.com/prometheus-operator/prometheus-operator/pkg/apis to manage the operator's objects in a different API group

Use `ldflags` in the client side, e.g.: go run -ldflags="-s -X github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring.GroupName=monitoring.example.com" ./example/client/.

Functions

func ResourceToKind added in v0.67.0

func ResourceToKind(s string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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