Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Add deprecation for metrics summary #4193

Merged
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/sources/tempo/api_docs/metrics-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ weight: 600
# Metrics summary API

{{< admonition type="warning" >}}
The Metrics summary API is an [experimental feature](/docs/release-life-cycle) that is disabled by default. To enable it, adjust your configuration as suggested below.
The metrics summary API is deprecated in Tempo 2.7. Features powered by the metrics summary API, like the Aggregate by table, are also deprecated in Grafana Cloud and Grafana 11.3 and later.
knylander-grafana marked this conversation as resolved.
Show resolved Hide resolved
It will be removed in a future release.
{{% /admonition %}}

This document explains how to use the metrics summary API in Tempo.
This API returns RED metrics (span count, erroring span count, and latency information) for `kind=server` spans sent to Tempo in the last hour, grouped by a user-specified attribute.

{{< youtube id="g97CjKOZqT4" >}}

## Configuration
## Activate metrics summary

To enable the experimental metrics summary API, you must turn on the local blocks processor in the metrics generator.
knylander-grafana marked this conversation as resolved.
Show resolved Hide resolved
Be aware that the generator uses considerably more resources, including disk space, if it's enabled:
Expand All @@ -30,6 +31,9 @@ overrides:
processors: [..., 'local-blocks']
```

In Grafana and Grafana Cloudl, the Metrics summary API is an [experimental feature](https://grafana.com/docs/release-life-cycle/) that is disabled by default.
knylander-grafana marked this conversation as resolved.
Show resolved Hide resolved
To enable it in Grafana Cloud, contact Grafana Support.

## Request

To make a request to this API, use the following endpoint on the query-frontend:
Expand Down