-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Record metrics for render failures #7
Comments
Never mind, this is already recorded as part of the standard controller runtime reconcile metrics. Just make sure you're looking at the instance that is the leader, otherwise they won't show up 😅 |
Actually, the currently exported metrics don't really fit the purpose of alerting on render failures. What we need is some sort of condition gauge like Flux has: https://github.com/fluxcd/pkg/blob/main/runtime/metrics/recorder.go Again, happy to submit a PR for this |
For a little bit of context, the intended design was to allow the separation of (human) operators and users. For instance one team may run one CMS controller for an entire cluster and multiple other teams may use CMS objects in the cluster. As you found, there is a builtin I went ahead and added an explicit |
At the moment, it's hard to monitor this service, because render failures aren't recorded. It would be nice if the existing metrics endpoint exposed these metrics.
Happy to submit a PR
The text was updated successfully, but these errors were encountered: