declarative

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Observability Observability `yaml:"observability"`
}

type Group

type Group struct {
	Name         string            `yaml:"name"`
	CommonLabels prometheus.Labels `yaml:"common_labels"`

	Metrics []operatormetrics.Metric      `yaml:"metrics"`
	Rules   []operatorrules.RecordingRule `yaml:"recording_rules"`
	Alerts  []promv1.Rule                 `yaml:"alerts"`
}

type Observability

type Observability struct {
	CommonLabels prometheus.Labels `yaml:"common_labels"`
	Groups       []Group           `yaml:"groups"`
}

Jump to

Keyboard shortcuts

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