You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To check prometheus server availabiilty, IsOnline method is checking /api/v1/status/flags.
For our platform prometheus itself cannot handle our size and we use some compatible querier services in front of prometheus that can handle queries but do not have this api.
I'm wondering if it's possible to change the availability with a simple query (vector(1) ?) so it will support any prometheus compatible querier.
for info we are using thanos and cortex in addition to prom to do queries.
The text was updated successfully, but these errors were encountered:
The IsOnline method is intended for debugging Flagger's install. Before this, we got many issues from users that misconfigured the Prometheus URL, having a sanity check at startup helps users detect that.
What I think we should do is call IsOnline on canary initialisation for all metric providers used in the analysis metrics section and log a warning since Flagger startup check doesn't cover the metrics templates.
To check prometheus server availabiilty,
IsOnline
method is checking/api/v1/status/flags
.For our platform prometheus itself cannot handle our size and we use some compatible querier services in front of prometheus that can handle queries but do not have this api.
I'm wondering if it's possible to change the availability with a simple query (
vector(1)
?) so it will support any prometheus compatible querier.for info we are using thanos and cortex in addition to prom to do queries.
The text was updated successfully, but these errors were encountered: