[Doc] Added link to APM dashboard doc for Service graph Tempo data source doc (#53491)

* Added link to APM dashboard doc

* Apply suggestions from code review
This commit is contained in:
Kim Nylander 2022-08-12 11:46:28 -04:00 committed by GitHub
parent 0ce89dbcb6
commit 101c087fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ This is a configuration for the beta Node Graph visualization. The Node Graph is
-- **Enable Node Graph -** Enables the Node Graph visualization. -- **Enable Node Graph -** Enables the Node Graph visualization.
### Loki Search ### Loki search
This is a configuration for the Loki search query type. This is a configuration for the Loki search query type.
@ -174,7 +174,7 @@ Here is an example JSON:
} }
``` ```
## Service Graph ## Service graph
A service graph is a visual representation of the relationships between services. Each node on the graph represents a service such as an API or database. With this graph, customers can easily detect performance issues, increases in error, fault, or throttle rates in any of their services, and dive deep into corresponding traces and root causes. A service graph is a visual representation of the relationships between services. Each node on the graph represents a service such as an API or database. With this graph, customers can easily detect performance issues, increases in error, fault, or throttle rates in any of their services, and dive deep into corresponding traces and root causes.
@ -182,12 +182,12 @@ A service graph is a visual representation of the relationships between services
To display the service graph: To display the service graph:
- [Configure the Grafana Agent](https://grafana.com/docs/tempo/next/grafana-agent/service-graphs/#quickstart) to generate service graph data - [Configure the Grafana Agent](https://grafana.com/docs/tempo/next/grafana-agent/service-graphs/#quickstart) or [Tempo/GET](https://grafana.com/docs/tempo/latest/server_side_metrics/service_graphs/#tempo) to generate service graph data
- Link a Prometheus datasource in the Tempo datasource settings. - Link a Prometheus data source in the Tempo data source settings.
- Navigate to [Explore]({{< relref "../explore/" >}}). - Navigate to [Explore]({{< relref "../explore/" >}}).
- Select the Tempo datasource. - Select the Tempo data source.
- Select the **Service Graph** query type and run the query. - Select the **Service Graph** query type and run the query.
- (Optional): filter by service name. - (Optional): Filter by service name.
You can pan and zoom the view with buttons or you mouse. For details about the visualization, refer to [Node graph panel](https://grafana.com/docs/grafana/latest/panels/visualizations/node-graph/). You can pan and zoom the view with buttons or you mouse. For details about the visualization, refer to [Node graph panel](https://grafana.com/docs/grafana/latest/panels/visualizations/node-graph/).
@ -204,20 +204,23 @@ Click on the service to see a context menu with additional links for quick navig
## APM table ## APM table
The APM (Application Performance Management) table allows you to view several APM metrics out of the box. The Application Performance Management (APM) table lets you view several APM metrics out of the box.
The APM table is part of the APM dashboard.
For more information, refer to the [APM dashboard documentation](https://grafana.com/docs/tempo/next/metrics-generator/app-performance-mgmt/).
To display the APM table: To display the APM table:
1. Activate the tempoApmTable feature flag in your ini file. 1. Activate the `tempoApmTable` feature flag in your `grafana.ini` file.
1. Link a Prometheus datasource in the Tempo datasource settings. 1. Link a Prometheus data source in the Tempo data source settings.
1. Navigate to [Explore]({{< relref "../explore/_index.md" >}}). 1. Navigate to [Explore]({{< relref "../explore/_index.md" >}}).
1. Select the Tempo datasource. 1. Select the Tempo data source.
1. Select the **Service Graph** query type and run the query. 1. Select the **Service Graph** query type and run the query.
1. (Optional): filter your results. 1. (Optional): Filter your results.
Note: The metric traces_spanmetrics_calls_total is used to display the name, rate & error rate columns and traces_spanmetrics_latency_bucket is used to display the duration column (these metrics will need to exist in your Prometheus datasource). > **Note:** The metric `traces_spanmetrics_calls_total` is used to display the name, rate, and error rate columns and `traces_spanmetrics_latency_bucket` is used to display the duration column. These metrics need to exist in your Prometheus data source.
Click a row in the rate, error rate, or duration columns to open a query in Prometheus with the span name of that row automatically set in the query. Click a row in the links column to open a query in Tempo with the span name of that row automatically set in the query. Click a row in the rate, error rate, or duration columns to open a query in Prometheus with the span name of that row automatically set in the query.
Click a row in the links column to open a query in Tempo with the span name of that row automatically set in the query.
{{< figure src="/static/img/docs/tempo/apm-table.png" class="docs-image--no-shadow" max-width="500px" caption="Screenshot of the Tempo APM table" >}} {{< figure src="/static/img/docs/tempo/apm-table.png" class="docs-image--no-shadow" max-width="500px" caption="Screenshot of the Tempo APM table" >}}