Description
Is your feature request related to a problem? Please describe.
Hey, I was thinking about how to monitor whether a Flow/Output resource is having problems or is working fine.
Describe the solution you'd like
I would like to build a kind of alerting (via PrometheusRule) indicating the status of a Flow/Output. The alerts should be sent to each team/namespace individually. For me the question is how is it supposed to work.
Monitoring and Alerting docs are not tackling this, yet.
Describe alternatives you've considered
Other tools like Flux achieved this by using kube-state-metrics (ksm). Ksm aggregates the status object and builds a Prometheus metric on top of that.
Additional context
Flux documentation: https://fluxcd.io/flux/monitoring/custom-metrics/
Flux example repository: https://github.com/fluxcd/flux2-monitoring-example