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

31 commits

Author SHA1 Message Date
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