prometheus

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureThanosQueriersConnectedToPromSidecars

func EnsureThanosQueriersConnectedToPromSidecars(ctx context.Context, prometheusClient prometheusv1.API) ([]monitorapi.Interval, error)

EnsureThanosQueriersConnectedToPromSidecars ensures that all Thanos queriers are connected to all Prometheus sidecars before fetching the alerts. This avoids retrieving partial data (possibly with gaps) when after an upgrade, one of the Prometheus sidecars hasn't been reconnected yet to the Thanos queriers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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