Deploy Tempo using Docker Compose
The example directory in the Tempo repository provides a docker-compose file that you can use to run Tempo locally with different configurations.
Note
The
exampledirectory in the Tempo repository is on therelease-v2.10branch. The examples on themainbranch are updated for the next release.
The easiest example to start with is Local Storage. This example runs Tempo as a single binary together with the synthetic-load-generator, to generate traces, and Grafana, to query Tempo. Data is stored locally on disk.
The following examples showcase specific features or integrations:
- Grafana Alloy provides a simple example using the Grafana Alloy as a tracing pipeline.
- OpenTelemetry Collector is a basic example using the OpenTelemetry Collector as a tracing pipeline.
- OpenTelemetry Collector Multitenant uses the OpenTelemetry Collector in an advanced multi-tenant configuration.
The Local storage example uses the local backend, suitable for local testing and development.

