> For the complete documentation index, see [llms.txt](https://docs.hivel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hivel.ai/using-hivel/cockpit/metrics-and-definitions/dora-metrics-in-hivel.md).

# DORA Metrics in Hivel

You can integrate Hivel with any tool in your workflow, and the DORA metrics will be calculated consistently based on real-time data.

## What are DORA Metrics

Dora metrics give you real-time visibility into your delivery pipeline:

| Metric                      | What It Means                                                                  | Data Source                   |
| --------------------------- | ------------------------------------------------------------------------------ | ----------------------------- |
| Change Failure Rate (CFR)   | The percentage of deployments that result in a failure.                        | Incident API + Deployment API |
| Mean Time to Restore (MTTR) | The time taken to restore a service from a production failure.                 | Incident API                  |
| Deployment Frequency (DF)   | The number of times that code changes are successfully deployed to production. | Deployment API                |
| Delivery Lead Time          | The time from code commit to successful deployment in production.              | Deployment API                |

## How to Enable These Metrics

To start viewing the new API-powered DORA metrics, make sure you’ve connected both the Deployment API and Incident API to your workspace.

1. In Hivel application navigate to Integrations → **CI/CD Section**
2. Connect the Deployment API for the following metrics:

   1. Deployment Frequency
   2. Delivery Lead Time

   👉 [View Integration Guide](https://docs.hivel.ai/integrations/api-documentation/deployment-events-api)

Once the APIs are connected, your DORA metrics will automatically update with data from these integrations.

## Where You’ll See These Changes

The changes apply in the

**Cockpit**

1. The DORA DASHBOARD - This board will include the metrics powered from Deployment and Incident API
2. These changes will be reflected in all the dashboards, graphical and tabular views

## Why This Change Matters

By using the Deployment API and Incident API, DORA metrics in Hivel are now more accurate, real-time, and consistent across tools.

You can integrate any tool with Hivel, and your metrics will follow a standard calculation method every time.
