> ## Documentation Index
> Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Observational Metrics

> Observational metrics show how your treatment affects outcomes beyond your primary decision metrics. They test in both directions and alert without giving a recommendation.

Confidence has three metric roles, **success**, **guardrail**, and **observational**.
Success and guardrail metrics decide the shipping recommendation.
Observational metrics show how your treatment affects outcomes beyond your primary decision metrics.
They never affect the recommendation.

## When to Use Observational Metrics

Use an observational metric when you want to know whether a metric moved, but the movement doesn't
decide whether to ship. Two common cases are:

* **Treatment realization checks.** Verify that the treatment materialized as intended. For example,
  check that users performed certain actions or that certain events occurred.
* **Metrics without a good or bad direction.** Track metrics where a change is interesting but
  neither an increase nor a decrease is better. For example, when you change an agent, you might
  track the number of tool calls. More or fewer tool calls isn't good or bad on its own, but you
  want to know if the number changes.

If a regression on the metric should block shipping, use it as a guardrail metric instead.

## How Confidence Tests Observational Metrics

Observational metrics differ from success and guardrail metrics in the following ways:

* **Sequential tests.** Confidence runs [sequential tests](https://confidence.spotify.com/docs/capabilities/experiments/statistics/sequential-tests.md)
  on observational metrics, so you can check results at any time while the A/B test or rollout is live.
* **Two-sided tests.** Observational metrics have no preferred direction. Confidence tests for
  movement in both directions.
* **No minimum detectable effect (MDE) or non-inferiority margin (NIM).** You set neither for an
  observational metric.
* **Alerts in either direction.** Confidence alerts on a statistically significant movement up or
  down. If a metric stops being significant and later becomes significant again, Confidence alerts again.
* **No recommendations.** Alerts from observational metrics are informational only. Confidence
  doesn't know whether the movement is good or bad, so it doesn't attach a recommendation.

### Separate Alpha Pool

Observational metrics have their own alpha pool. Confidence
[corrects them for multiple testing](https://confidence.spotify.com/docs/capabilities/experiments/statistics/adjustment-multiple-comparisons.md)
among themselves only, using the same alpha as the rest of the A/B test or rollout.

For example, an A/B test with 5% alpha uses 5% alpha for its success and guardrail metrics, and a
separate 5% alpha for its observational metrics. The probability of at least one false positive
across all metrics is up to twice the alpha.

## Add Observational Metrics

Add observational metrics to an A/B test or a rollout in the **Observational metrics** section of
the metrics configuration. Each observational metric needs only the metric itself, without a
direction, MDE, or NIM.

## Where Results Appear

Observational metrics aren't decision metrics, so their results don't appear in the same table as the
success and guardrail metrics. On the main results page, the **Decision** tab lists the success and
guardrail metrics, and the **Observational** tab lists the observational metrics. Each tab shows its
metric count. Where the redesigned results view isn't on yet, observational results appear on the
**Detailed results** page instead. This keeps
a clear line between the metrics that drive the decision and the metrics that are purely informational.

## Related Resources

> [card] [Sequential Tests](https://confidence.spotify.com/docs/capabilities/experiments/statistics/sequential-tests.md)
>
> How Confidence tests results continuously

> [card] [Multiple Comparisons](https://confidence.spotify.com/docs/capabilities/experiments/statistics/adjustment-multiple-comparisons.md)
>
> How Confidence corrects alpha across metrics
