> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/metrics-explorer.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Metrics Explorer

Use Metrics Explorer in Harness FME to chart any metric over time by environment, property, feature flag, and treatment.

{% hint style="info" %}
This feature is in Beta[^1] and requires enablement. [View all early access features.](https://developer.harness.io/release-notes/features.md)

{% @harness-feature-flag-access/request-feature-flag-access module="feature-management-experimentation" pagePath="feature-management-experimentation/use-fme/release-monitoring/metrics/metrics-explorer" pageTitle="Metrics%20Explorer" featureFlags="%5B%7B%22name%22%3A%22Expanded%20guardrail%20metric%20insights%22%2C%22key%22%3A%22FME\_METRICS\_EXPLORER%22%2C%22status%22%3A%22BETA%22%2C%22description%22%3A%22Enables%20the%20Metrics%20Explorer%20page%2C%20which%20lets%20you%20chart%20a%20metric%20over%20time%20and%20filter%20and%20group%20the%20results.%22%7D%5D" %}
{% endhint %}

The **Metrics Explorer** page allows you to chart any [metric](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/index.md) over time for an [environment](https://developer.harness.io/feature-management-experimentation/management-and-administration/environments.md), then narrow the results with filters and group them by property or [treatment](https://developer.harness.io/feature-management-experimentation/use-fme/feature-management/setup/define-feature-flag-treatments-and-targeting.md). Use it to watch how a metric moves while a release, such as a [percentage-based rollout](https://developer.harness.io/feature-management-experimentation/use-fme/feature-management/targeting/limiting-exposure.md), is in progress. This includes [guardrail metrics](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/categories/guardrail-metrics.md).

Metrics Explorer shows how a metric correlates with the treatments that keys were served. For each key, it uses the latest feature flag treatment that the key was evaluated for. It does not apply the exclusion rules that experiments use.

Metrics Explorer charts the count, average, and total aggregations of a metric. Percent (conversion rate) aggregation, value caps, and the has-done-before setting are not supported, so metrics that depend on them cannot be charted with those settings applied.

## Before you begin

* You have access to a Harness FME project with at least one feature flag that is serving traffic.
* Your SDKs send [impressions](https://developer.harness.io/feature-management-experimentation/use-fme/feature-management/monitoring-and-analysis/impressions.md) and the [events](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/events/index.md) that your metric is built from, such as error events.
* You have at least one [metric](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/index.md) defined that uses the count, average, or total aggregation.

## Open Metrics Explorer

In your Harness project, go to **Feature Management & Experimentation**, then select **Metrics** > **Metrics explorer**.

## Build a query

Set the following controls, then select **Run query**.

| Control         | Description                                                                                                                  |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| **Metric**      | The metric to query. The list shows the metrics available in your project.                                                   |
| **Environment** | The environment to query. The list shows the environments in your project.                                                   |
| **Time range**  | A preset range (**6h**, **12h**, **1d**, or **7d**), or **Custom**. A query can span up to 7 days, including a custom range. |

The query results appear as a line chart, with time in UTC on the horizontal axis. Unique counts do not add up across time buckets.

### Filter results

Add filters to restrict the data that the query returns.

* **Property filter**: Include only events whose property matches the value that you select. Go to [Filtering your metrics](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/setup/filtering.md) to learn how properties are used to filter.
* **Feature flag filter**: Include only traffic for the feature flag that you select. The flag must have treatments for you to run the query.

### Group results

Use **Group by** to split the results into separate series.

* **Property**: Group by an event property.
* **Treatment**: Group by the treatment that each key was served.

Grouping by key is not supported.

The **Property** and **Treatment** options are populated from the data in the selected environment and time range. If the lists are empty, the query returned no data. Select a different environment or a longer time range.

### Include not exposed

Select **Include not exposed** to include keys that were never served a treatment of the selected feature flag. This option is not available in every environment.

## Troubleshooting

<details>

<summary>Run query stays disabled</summary>

Run query is disabled until every required control has a value. If you select a feature flag that has no treatments, there is nothing to query. Select a flag that has at least one treatment.

</details>

<details>

<summary>No data is returned</summary>

Confirm that the selected environment received impressions and events during the time range. Metrics Explorer cannot return results for an environment with no traffic. Go to [Events](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/events/index.md) to confirm that events are arriving, and go to [Impressions](https://developer.harness.io/feature-management-experimentation/use-fme/feature-management/monitoring-and-analysis/impressions.md) to confirm that your feature flag is serving traffic.

</details>

## Next steps

* Go to [Guardrail metrics](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/categories/guardrail-metrics.md) to learn how guardrail metrics are defined.
* Go to [Metrics](https://developer.harness.io/feature-management-experimentation/use-fme/release-monitoring/metrics/index.md) to learn how to define the metrics that you chart.

{% @harness-feedback/feedback %}

[^1]: Off by default. If you want to try it and share feedback, request access and Harness will turn it on for your account. Beta features can change and may not be ready for production use.
