observability

package
v1.16.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ServiceAccountTlsCertPath is the path to the service account TLS certificate
	// used for TLS communication with the alertmanager API
	ServiceAccountTlsCertPath = "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt"

	AlertmanagerSvcHost = "https://alertmanager-main.openshift-monitoring.svc.cluster.local:9094"
)

Variables

This section is empty.

Functions

func FindPodDisruptionBudgetAtLimitSilence

func FindPodDisruptionBudgetAtLimitSilence(amSilences []alertmanager.Silence) *alertmanager.Silence

func NewHTTPClient added in v1.15.0

func NewHTTPClient() (*http.Client, error)

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager, ownerDeployment *appsv1.Deployment) error

Types

type Reconciler

type Reconciler struct {
	client.Client
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(mgr ctrl.Manager, namespace string, ownerDeployment *appsv1.Deployment) *Reconciler

func (*Reconciler) NewAlertmanagerApi

func (r *Reconciler) NewAlertmanagerApi() (*alertmanager.Api, error)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, error)

func (*Reconciler) ReconcileAlerts added in v1.15.0

func (r *Reconciler) ReconcileAlerts(ctx context.Context) error

Jump to

Keyboard shortcuts

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