How to write an equivalent PromQL query in FluxCD 2.6 without `gotk_reconcile_condition ? #5653
Unanswered
patsevanton
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to migrate some PromQL dashboards to FluxCD 2.6, and I need help rewriting a query that depends on labels which no longer exist.
Previously I used this PromQL expression:
In FluxCD 2.6 the metric
gotk_reconcile_conditionis gone, and the only reconciliation-related metrics are:gotk_reconcile_duration_seconds_bucketgotk_reconcile_duration_seconds_sumgotk_reconcile_duration_seconds_countWhen I check what is actually exposed:
I only see:
These are the only labels available on
gotk_reconcile_duration_seconds_count:There is no
resultlabel anymore, so I can't distinguish betweensuccessvserrorreconciliations.Question
How can I build an equivalent PromQL query in FluxCD 2.6 that computes the difference between successful and failed reconciliations, given that:
gotk_reconcile_conditionno longer existsgotk_reconcile_duration_seconds_*has noresultlabelIs this metric removed, moved, or replaced? Is there any recommended way in FluxCD 2.6 to count or differentiate successful vs failed reconciliations?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions