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.
Click to show internal directories.
Click to hide internal directories.