Documentation
¶
Index ¶
Constants ¶
View Source
const (
// RunbookDefaultURL is the default url for the documentation of the Prometheus Operator alerts.
RunbookDefaultURL = "https://github.com/grafana/tempo-operator/blob/main/operations/runbook.md"
)
Variables ¶
This section is empty.
Functions ¶
func PrometheusRule ¶
func PrometheusRule(namespace string) (*monitoringv1.PrometheusRule, error)
PrometheusRule creates a PrometheusRule containing alerts of the operator.
func ServiceMonitor ¶
func ServiceMonitor(featureGates configv1alpha1.FeatureGates, namespace string) *monitoringv1.ServiceMonitor
ServiceMonitor creates a ServiceMonitor which scrapes the operator metrics.
Types ¶
Click to show internal directories.
Click to hide internal directories.