DORA metrics
Access DORA metrics for your cluster
DORA metrics are an industry-standard set of measurements that are included in Keptn; see the following for a description:
- What are DORA Metrics and Why Do They Matter?
- Are you an Elite DevOps Performer? Find out with the Four Keys Project
DORA metrics provide information such as:
- How many deployments happened in the last six hours?
- Time between deployments
- Deployment time between versions
- Average time between versions.
Keptn starts collecting these metrics as soon as you apply basic annotations to the workload resources (Deployments, StatefulSets, DaemonSets, and ReplicaSets or Pods).
Metrics are collected only for the resources that are annotated.
To view DORA metrics, run the following two commands:
-
Retrieve the service name with:
kubectl -n keptn-system get service \ -l control-plane=lifecycle-operator
-
Then port-forward to the name of your service:
kubectl -n keptn-system port-forward \ service/<YOURNAME> 2222
Then view the metrics at:
http://localhost:2222/metrics
DORA metrics are also displayed on Grafana or whatever dashboard application you choose. For example:
Last modified 2023-11-27: chore: rename Keptn default namespace to 'keptn-system' (#2565) (aec11489)