Skip to content

Integrate flux monitoring

Bogdan Antohe requested to merge ba/flux-monitoring into main

What does this MR do and why?

Flux is a critical resource into stack and we should have a proper view over components/resources related to it. The aim of this MR is to introduce dedicated dashboards offering details about controllers and resources metrics of flux. In order to fetch metrics, I've created a new unit called custom-resource-state-flux which will create the pod monitors ( targeting the controllers metrics ) and a specific config for kube-state-metrics containing a set of resources ( kustomizations/Helmreleases ) and details which need to be fetched.

Below you can see details how metrics will look like into Prometheus and dasboard view in Grafana:

Prometheus:

image

Grafana dashboard related to controllers stats:

image

Grafana dashboard related to resources stats:

image

Close #741 (closed).

Related reference(s)

Test coverage

Edited by Bogdan Antohe

Merge request reports