This Repository is used for the "CI/CD für Applikationsmonitoring" Webinar.
Prerequisites
- Activate the User Workload Monitoring Feature of OpenShift
- Install the community Grafana Operator
The main storyline consist of:
- Deploy a sample application "metrics-demo" which is exposing metrics
- run
kustomize build ./manifests/argocd/apps/product-metrics | oc apply -f -
- run
- Deploy a
ServiceMonitor
to extract custom metrics from the application - Deploy a custom Grafana Dashboard for the application
- Introduce a new metric in the application together with the edit of the Grafana Dashboard showing that metric
- Deploy a custom
PrometheusRule
to define an alert