monitoring

package module
v0.0.0-...-ac1ba31 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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/nholuongut/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/nholuongut/prometheus-operator/pkg/apis/monitoring.GroupName=monitoring.example.com" ./example/client/.

Functions

func ResourceToKind

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