1
0
mirror of https://github.com/grafana/tempo.git synced 2025-03-16 05:41:40 +00:00
tempo/example/docker-compose/otel-collector-multitenant/docker-compose.yaml

55 lines
1.6 KiB
YAML
Raw Normal View History

version: "3"
services:
# Generate fake traces...
synthetic-load-generator:
image: omnition/synthetic-load-generator:1.0.29
volumes:
- ../shared/load-generator.json:/etc/load-generator.json
environment:
- TOPOLOGY_FILE=/etc/load-generator.json
- JAEGER_COLLECTOR_URL=http://otel-collector:14268
# And put them in an OTEL collector pipeline...
otel-collector:
image: otel/opentelemetry-collector:0.61.0
command: [ "--config=/etc/otel-collector.yaml" ]
volumes:
- ./otel-collector.multitenant.yaml:/etc/otel-collector.yaml
# To eventually offload to Tempo...
tempo:
image: grafana/tempo:latest
command: [ "-multitenancy.enabled=true", "-config.file=/etc/tempo.yaml" ]
volumes:
- ../local/tempo-local.yaml:/etc/tempo.yaml
- ./tempo-data:/tmp/tempo
ports:
- "14268" # jaeger ingest
- "3200" # tempo
- "4317" # otlp grpc
- "4318" # otlp http
- "9411" # zipkin
prometheus:
image: prom/prometheus:latest
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
volumes:
- ../shared/prometheus.yaml:/etc/prometheus.yaml
ports:
- "9090:9090"
grafana:
image: grafana/grafana:9.1.6
volumes:
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"