Skip to content

Commit

Permalink
Add tempo tunning
Browse files Browse the repository at this point in the history
  • Loading branch information
josunect committed Oct 24, 2024
1 parent f66f1ec commit e0031b0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions content/en/docs/Configuration/p8s-jaeger-grafana/tracing/tempo.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,36 @@ In `external_services.tracing`
| Jaeger | `.internal_url = 'http://jaeger_service_url:16686/jaeger'`<br/> `.use_grpc = false` <hr> | `.internal_url = 'http://jaeger_service_url:16685/jaeger'` <br>`.use_grpc = true (Not required: by default)`<br><hr> |
| Tempo | <br/>`internal_url = 'http://query_frontend_url:3200'`<br/> `.use_grpc = false`<br/> `.provider = 'tempo'`<br/><hr> | `.internal_url = 'http://query_frontend_url:3200'`<br/> `.grpc_port: 9095` <br/>`.provider: 'tempo'`<br/>`.use_grpc = true (Not required: by default)`<hr> |

### Tempo tunning

Grafana Tempo is a powerful tool, but it can lead to performance issues when not configured correctly.
The following configuration can lead to OOM issues for simple queries in the frontend-querier component:

```yaml
spec:
resources:
total:
limits:
memory: 2Gi
cpu: 2000m
```

These resources are shared between all the Tempo components.
Instead of applying the resources globally, they can be applied to each specific component, when needed:

```yaml
spec:
template:
queryFrontend:
component:
resources:
limits:
cpu: "2"
memory: 2Gi
```



### Tempo authentication configuration

The Kiali CR provides authentication configuration that will be used also for querying the version check to provide information in the Mesh graph.
Expand Down

0 comments on commit e0031b0

Please sign in to comment.