Skip to content

Commit

Permalink
Update tempo docs
Browse files Browse the repository at this point in the history
  • Loading branch information
josunect committed Oct 6, 2023
1 parent 5523805 commit c06dc62
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/Configuration/p8s-jaeger-grafana/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Prometheus, Jaeger, Grafana"
title: "Prometheus, Tracing, Grafana"
description: "Kiali data sources and add-ons."
---

Expand Down
32 changes: 25 additions & 7 deletions content/en/docs/Configuration/p8s-jaeger-grafana/tracing/tempo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,35 @@ spec:
# Enabled by default. Kiali will anyway fallback to disabled if
# Tempo is unreachable.
enabled: true
# Jaeger service name is "tracing" and is in the "telemetry" namespace.
# Tempo service name is "query-frontend" and is in the "tempo" namespace.
# Make sure the URL you provide corresponds to the non-GRPC enabled endpoint
# if you set "use_grpc" to false.
in_cluster_url: "http://tracing.telemetry:3200"
# It does not support grpc yet, so make sure "use_grpc" is set to false.
in_cluster_url: "http://query-frontend.tempo:3200"
provider: "tempo"
use_grpc: true
# Public facing URL of Grafana with the Tempo Datasource
# Note this is not fully integrated
url: "http://my-tempo-host/explore?left=%7B%22datasource%22:%22Tempo%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22queryType%22:%22traceId%22,%22query%22:%22%22%7D%5D,%22range%22:%7B%22from%22:%22now-1h%22,%22to%22:%22now%22%7D%7D&orgId=1"
use_grpc: false
# Public facing URL of Grafana
url: "http://my-tempo-host:3200"
```
The default UI for Grafana Tempo is Grafana, so we should also set the Grafana url in the configuration:
```yaml
spec:
external_services:
grafana:
in_cluster_url: http://grafana.istio-system:13000
url: http://my-grafana-host:13000
```
We also need to set up a default [Tempo datasource](https://grafana.com/docs/grafana/latest/datasources/tempo/) in Grafana.
![Kiali grafana_tempo](/images/documentation/configuration/grafana_tempo_ds.png)
To improve performance, the data of each Trace is not complete until we click in that specific trace. Because all the trace information is not
complete before the click, the total number of spans is unknown, and all the traces are represented in the graph with the same size.
![Kiali grafana_tempo](/images/documentation/configuration/grafana_tempo.png)
### Use Jaeger frontend with Grafana Tempo tracing backend
It is possible to use the Grafana Tempo tracing backend exposing the Jaeger API.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c06dc62

Please sign in to comment.