Skip to content

DORA Metrics

DORA metrics are an industry-standard set of measurements that are included in Keptn; see the following for a description:

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:

DORA metrics

Comments