> 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

Key metrics let you pin your most important engineering indicators to the Swarmia front page, so everyone in your organization sees the same shared view of performance every time they log in.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2F2cDXpwv6ooQq1utTRuGF%2Fkey-metrics-home.png?alt=media&amp;token=b5ed3581-9ca2-49ad-8921-92365f6d831b" 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="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2FeZ9uN0cfIWF23GJhAGGC%2Fkey-metrics-overview.png?alt=media&amp;token=681ed367-5818-4215-a89a-22f36c0e3397" 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="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2Fn7bWRYblOqVnzVdmsWpA%2Fkey-metrics-editor.png?alt=media&amp;token=a7c2fbb8-7e9c-48a1-860b-e9a82c58401f" 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.

## Set targets and track progress

Set an organization target to give every team a shared goal for a key metric. In the card view, open the metric's three-dot menu and select **Set target**. In the table view, hover over the metric cell and select the target icon.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2FoM2ocx1ibUzfHQKKlFpL%2Fimage.png?alt=media&amp;token=a1abfac6-a529-416c-9b92-e795c39f5cb6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2F6P1rMeQg1jpR8qhFzJVB%2Fimage.png?alt=media&amp;token=7b38cb86-7cb8-4045-b6a5-7379fb08b5f8" alt=""><figcaption></figcaption></figure>

Enter the target in the editor. Its scale shows where each team currently sits, alongside relevant benchmark ranges when available. You can set targets only for metrics with a clear direction, such as higher or lower is better.

Each team inherits the organization target until you set a target for that specific team. Set a team target from that team's card or table row. Removing a team target makes the team inherit the organization target again.

For count- and sum-based metrics, enter targets as a monthly rate. Swarmia scales the target to the selected month, quarter, or year, so you can compare performance consistently across timeframes.

Only [organization admins](/settings/organization/managing-users-and-roles.md) can set, edit, or remove key metric targets.


---

# 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.
