[v10.3.x] [DOC] Update Pyroscope data source (#82320)

[DOC] Update Pyroscope data source (#82130)

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
(cherry picked from commit 815e61258c)
This commit is contained in:
Kim Nylander
2024-02-12 17:20:22 +02:00
committed by GitHub
parent a03495567c
commit 83c8c96b31
4 changed files with 176 additions and 19 deletions
@@ -25,9 +25,13 @@ When configured, this connection lets you run queries from a trace span into the
There are two ways to configure the trace to profiles feature:
- Use a simplified configuration with default query, or
- Use a basic configuration with default query, or
- Configure a custom query where you can use a template language to interpolate variables from the trace or span.
{{< admonition type="note">}}
Traces to profile requires a Tempo data source with Traces to profiles configured and a Pyroscope data source. This integration supports profile data generated using Go, Ruby, and Java instrumentation SDKs.
{{< /admonition >}}
To use trace to profiles, navigate to **Explore** and query a trace. Each span now links to your queries. Clicking a link runs the query in a split panel. If tags are configured, Grafana dynamically inserts the span attribute values into the query. The query runs over the time range of the (span start time - 60) to (span end time + 60 seconds).
![Selecting a link in the span queries the profile data source](/static/img/docs/tempo/profiles/tempo-profiles-Span-link-profile-data-source.png)
@@ -36,7 +40,7 @@ To use trace to profiles, you must have a configured Grafana Pyroscope data sour
## Use a simple configuration
To use a simple configuration, follow these steps:
To use a basic configuration, follow these steps:
1. Select a Pyroscope data source from the **Data source** drop-down.
1. Optional: Choose any tags to use in the query. If left blank, the default values of `service.name` and `service.namespace` are used.