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

30 commits

Author SHA1 Message Date
Jordan Pittier
8b8cb2997b
Disable PostBuild substition for Flux Grafana dashboards
Fixes #44 

Signed-off-by: Jordan Pittier <JordanP@users.noreply.github.com>
2024-11-05 13:40:01 +01:00
Sunny
5bf921a7b5
Merge pull request #30 from fluxcd/iac-v1beta2
Update ImageUpdateAutomation API to v1beta2
2024-05-13 20:00:15 +05:30
Stefan Prodan
a80c7273c8
Merge pull request #36 from fluxcd/helmrelease-v2
Update Helm APIs to GA
2024-05-13 17:24:02 +03:00
Stefan Prodan
facdc76ccf
Merge pull request #27 from squat/remove_unneeded_relable_config
PodMonitor: remove now unneeded relabel config
2024-05-10 15:49:22 +03:00
Stefan Prodan
35953ba7ea
Update metrics to GA APIs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-07 10:02:08 +03:00
Stefan Prodan
9244361679
Add chart_app_version to HelmRelease metrics
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-07 09:59:37 +03:00
Stefan Prodan
87923b0b07
Update to HelmRelease v2 API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-07 09:59:12 +03:00
Stefan Peer
03888da117
Make help texts unique in kube-state-metrics customResourceState config
Bump kube-prometheus-stack to 58.x, to include kube-state-metrics v2.12.0.

Signed-off-by: Stefan Peer <stefan@peerweb.it>
2024-04-16 17:39:14 +02:00
Sunny
ca9ab57b8a Update ImageUpdateAutomation API to v1beta2
Signed-off-by: Sunny <github@darkowlzz.space>
2024-03-20 10:49:45 +00:00
Lucas Servén Marín
4f3f70817c
PodMonitor: remove now unneeded relabel config
Ever since
https://github.com/prometheus-operator/prometheus-operator/pull/5049,
the relabel config workaround to ignore non-running pods is no longer
needed. This commit cleans up the podmonitor to keep the code tidy.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2024-02-13 17:20:54 +01:00
George Gaál
d952479512 Fix installation on talos.dev according to https://www.talos.dev/v1.6/kubernetes-guides/configuration/pod-security/
Signed-off-by: George Gaál <gb12335@gmail.com>
2024-02-09 17:37:21 +01:00
Mario Trangoni
c411365b1b Update kube-prometheus-stack from 54.x to 55.x
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2023-12-15 20:44:46 +01:00
Mario Trangoni
830b4b9478 dashboard control-plane.json: Update remaining graph to modern timeseries panel
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2023-12-15 13:45:41 +01:00
Hidde Beydals
913084eb4a
Merge pull request #9 from fluxcd/nc-v1beta3
KSM config: Update for NC v1beta3 API
2023-12-12 17:29:34 +01:00
Stefan Prodan
0c12c20127
Update to HelmRelease v2beta2 API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-11-24 18:51:00 +02:00
Sunny
b99583d361
Merge pull request #13 from knutgoetz/refactor/use-filter-transformation-in-dashboards
Filter labels explicitly in table panels of cluster dashboard
2023-11-02 00:54:33 +05:30
Knut Götz
ea8545f2f9
Don't exclude any field in cluster table transformation
Signed-off-by: Knut Götz <knutgoetz@gmail.com>
2023-10-31 10:09:29 +01:00
Sunny
eb3bb8dbe4
Merge pull request #11 from knutgoetz/feat/dashboards/add-suspendend-objects-panel
Add table panel to list suspended objects
2023-10-31 02:38:01 +05:30
Knut Götz
e9869df18f
Filter labels explicitly in table panels of cluster dashboard
Signed-off-by: Knut Götz <knutgoetz@gmail.com>
2023-10-28 21:39:24 +02:00
Knut Götz
7c957bed20
Add table panel to list suspended objects
Signed-off-by: Knut Götz <knutgoetz@gmail.com>
2023-10-28 20:38:32 +02:00
ed-boykin
aa09f0a647 Add comment about retaining existing KSM config
Added a comment to kube-state-metrics-config.yaml relating to how to
integrate the sample config with an existing Prometheus configuration.
Current sample will supersede existing config otherwise.

Signed-off-by: ed-boykin <140439307+ed-boykin@users.noreply.github.com>
2023-10-26 19:14:48 +05:30
Sunny
14e2f5ae56 KSM config: Update for NC v1beta3 API
The alert and provider APIs from notification-controller no longer have
status to report readiness.
Dashboards should be designed to assume Ready=True for no status. The
Flux Cluster Stats dashboard already does this for the objects it
shows.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-10-05 19:29:37 +05:30
Sunny
085f259342
cluster dashboard: exclude suspended in readiness
Add `suspended` to the list of excluded fields in the transformation for
resource readiness. This is needed to not introduce a new field in
cluster reconciliation readiness and source acquisition readiness
panels when a resource is suspended.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-10-05 19:21:32 +05:30
Sunny
377a5c44c3
cluster dashboard: exclude bucket_name in sources
Add `bucket_name` to the list of excluded fields in the transformation
for source readiness.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-24 00:51:06 +05:30
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
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
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