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

45 commits

Author SHA1 Message Date
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 Prodan
fbf131257d
Merge pull request #33 from speer/fix_help_texts
Update `kube-prometheus-stack` to v58 and make the `gotk_resource_info` help text unique
2024-04-16 23:24:22 +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
Stefan Prodan
bcae1ef449
Merge pull request #25 from gecube/main
Fix installation on talos.dev
2024-02-09 19:22:08 +02: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
Sunny
5274d23c2b
Merge pull request #20 from mjtrangoni/update-old-graph
Update Flux Control Plane Grafana dashboard
2023-12-18 17:15:06 +05:30
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
Hidde Beydals
7906771bfa
Merge pull request #17 from fluxcd/hr-v2beta2
Update to `HelmRelease` v2beta2 API
2023-12-12 17:29:09 +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
Sunny
2360e1fef9
Merge pull request #12 from ed-boykin/Updated-Monitoring-Example-kube-state-metrics-config-comments
Update kube-state-metrics-config.yaml
2023-10-31 02:12:37 +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
4d364c308a
Merge pull request #8 from fluxcd/exclude-suspended
cluster dashboard: exclude `suspended` in readiness
2023-10-05 20:28:57 +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
21c9646949
Merge pull request #5 from fluxcd/exclude-bucket-name
cluster dashboard: exclude `bucket_name` in sources
2023-08-24 13:35:40 +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
85e195962e
Merge pull request #4 from fluxcd/ksm-values-from
Use ConfigMapGenerator for KSM values
2023-08-21 19:46:58 +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
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