Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPrometheusRule ¶
func BuildPrometheusRule(namespace string) (*promv1.PrometheusRule, error)
BuildPrometheusRule creates a PrometheusRule in a namespace.
func ListRecordingRules ¶
func ListRecordingRules() []operatorrules.RecordingRule
ListRecordingRules returns all configured recording rules.
func SetupRules ¶
SetupRules initializes recording and alert rules in a namespace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.