1
0
Fork 0
mirror of https://github.com/fluxcd/flux2-monitoring-example.git synced 2024-12-14 10:47:31 +00:00
Commit graph

14 commits

Author SHA1 Message Date
Sunny
28eb845820
Use ConfigMapGenerator for KSM values
Move the KSM values to a separate file to make it easy to change without
affecting the other values. Use ConfigMapGenerator to put these values
in a ConfigMap and refer to it in HelmRelease as valuesFrom ConfigMap.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-21 19:21:44 +05:30
Stefan Prodan
88b17f7f9c
Merge pull request #3 from fluxcd/metrics
Enhance the `gotk_resource_info` metric
2023-08-21 16:39:58 +03:00
Sunny
61aad8fa03
Update cluster stats dashboard for new labels
Update the panel transforms to hide the new fields. This helps keep the
panel tables as before.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-21 19:02:20 +05:30
Stefan Prodan
92d88b67ef
Enhance resource_info
- Add `suspended` labels to all info metrics
- Add `url` and `revision` labels to source metrics
- Add `source_name` and `revision` labels to Kustomization objects
- Add `chart_name` and `revision` labels to HelmRelease objects

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-21 14:39:24 +03:00
Stefan Prodan
d406ae2742
Merge pull request #2 from fluxcd/bootstrap
Refactor structure to conform to Flux bootstrap
2023-08-18 16:36:18 +03:00
Stefan Prodan
2a0cccfaa1
Add quickstart guide
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-18 15:32:59 +03:00
Stefan Prodan
291338098f
Add e2e tests with Kubernetes Kind
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-18 14:21:03 +03:00
Stefan Prodan
5dffefe847
Use ghcr.io/prometheus-community/charts OCI repo
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-18 14:09:27 +03:00
Stefan Prodan
41a39ab848
Set Grafana password to flux
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-18 14:02:43 +03:00
Stefan Prodan
1705e7b9f4
Refactor structure to conform to Flux bootstrap
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-18 13:49:54 +03:00
Stefan Prodan
acd76e11c6
Merge pull request #1 from fluxcd/monitoring-config
Add kube-prometheus-stack, loki-stack & monitoring-config
2023-08-18 13:30:11 +03:00
Sunny
ea9580f79a
Update dashboard panels to use time series visual
The graph panel has been deprecated. Migrate to the new time series
visualization panel.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-18 15:52:44 +05:30
Sunny
a370ffa075
Add kube-prometheus-stack, loki-stack & monitoring-config
Kube-prometheus-stack helm release values have been updated to deploy
kube-state-metrics to watch flux custom resources only.

loki-stack has be copied from flux2 configuration.

monitoring-config has been updated to use the kube-state-metrics flux
resource metrics in the cluster dashboard.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-18 15:52:15 +05:30
Stefan Prodan
c201da1f36
Initial commit 2023-08-02 16:28:01 +03:00