> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/features/metrics/key-metrics.md).

# Key metrics

<figure><img src="/files/vtYX7K4lLPLfmTnm7PVD" alt=""><figcaption></figcaption></figure>

## Overview

Improving how your engineering organization works is a long game. Whether you're trying to reduce cycle times, increase throughput, or improve deployment frequency, it helps to keep your north star metrics visible — rather than buried three clicks deep.

Key metrics lets you choose the indicators that matter most to your organization and surface them at the top of the Swarmia home page. Every time someone logs in, they see the same shared view of your company's engineering performance.

<figure><img src="/files/ZzA6NPKXNfr8Sxtv0ldx" alt=""><figcaption></figcaption></figure>

You can also open key metrics in a dedicated view, making it easy to see how your teams compare across the selected metrics.

## Choosing your key metrics

Admins can pick from a curated set of ready-made metrics, including:

* **Throughput:** PRs merged, PRs merged per FTE, stories completed, stories completed per FTE, issues completed, issues completed per FTE
* **Cycle time:** Pull request cycle time, story cycle time, issue cycle time
* **DORA metrics:** Deployment frequency, change lead time, change failure rate, and MTTR
* **Investment balance:** Share of effort spent on any of your investment categories

<figure><img src="/files/JlQ6TUqqfbbtyGp6YPJz" alt=""><figcaption></figcaption></figure>

If none of those fit, you can also define your own key metrics using the same flexible reporting framework as [Explore](/features/metrics/explore.md). So whether your team cares most about a specific DORA metric, a code health indicator, or something entirely your own, you can surface it here.

## Defaults

You'll see a preselected set of key metrics the next time you log in to Swarmia:

* Average pull request cycle time
* PRs merged
* Stories completed

The default seed applies only to the data sources you've connected — code metrics require GitHub or GitLab, and issue metrics require Jira or Linear.

If you're an admin, you can edit the selection at any time to match what your organization actually cares about.

{% hint style="info" %}
Editing key metrics requires the **Manage key metrics** permission, which is granted to admins by default.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.swarmia.com/features/metrics/key-metrics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
