mirror of
https://github.com/grafana/tempo.git
synced 2025-03-14 03:06:42 +00:00
184 lines
4.6 KiB
YAML
184 lines
4.6 KiB
YAML
services:
|
|
|
|
# tempo - a
|
|
distributor-a:
|
|
image: &tempoImage grafana/tempo:latest
|
|
command: "-target=distributor -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
ingester-0-a:
|
|
image: *tempoImage
|
|
command: "-target=ingester -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
ingester-1-a:
|
|
image: *tempoImage
|
|
command: "-target=ingester -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
ingester-2-a:
|
|
image: *tempoImage
|
|
command: "-target=ingester -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
query-frontend-a:
|
|
image: *tempoImage
|
|
command: "-target=query-frontend -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
querier-a:
|
|
image: *tempoImage
|
|
command: "-target=querier -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
compactor-a:
|
|
image: *tempoImage
|
|
command: "-target=compactor -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
metrics-generator-a:
|
|
image: *tempoImage
|
|
command: "-target=metrics-generator -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-a.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
# tempo - b
|
|
# there is purposefully no compactor-b. only one cell can compactor or there will be job collisions
|
|
distributor-b:
|
|
image: *tempoImage
|
|
command: "-target=distributor -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
ingester-0-b:
|
|
image: *tempoImage
|
|
command: "-target=ingester -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
ingester-1-b:
|
|
image: *tempoImage
|
|
command: "-target=ingester -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
ingester-2-b:
|
|
image: *tempoImage
|
|
command: "-target=ingester -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
query-frontend-b:
|
|
image: *tempoImage
|
|
command: "-target=query-frontend -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
querier-b:
|
|
image: *tempoImage
|
|
command: "-target=querier -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
metrics-generator-b:
|
|
image: *tempoImage
|
|
command: "-target=metrics-generator -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo-distributed-b.yaml:/etc/tempo.yaml
|
|
ports:
|
|
- "3200" # tempo
|
|
|
|
minio:
|
|
image: minio/minio:latest
|
|
environment:
|
|
- MINIO_ACCESS_KEY=tempo
|
|
- MINIO_SECRET_KEY=supersecret
|
|
ports:
|
|
- "9001:9001"
|
|
entrypoint:
|
|
- sh
|
|
- -euc
|
|
- mkdir -p /data/tempo && minio server /data --console-address ':9001'
|
|
|
|
k6-tracing:
|
|
image: ghcr.io/grafana/xk6-client-tracing:v0.0.7
|
|
environment:
|
|
- ENDPOINT=distributor-a:4317
|
|
restart: always
|
|
depends_on:
|
|
- distributor-a
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
command:
|
|
- --config.file=/etc/prometheus.yaml
|
|
- --web.enable-remote-write-receiver
|
|
- --enable-feature=exemplar-storage
|
|
- --enable-feature=native-histograms
|
|
volumes:
|
|
- ./prometheus.yaml:/etc/prometheus.yaml
|
|
ports:
|
|
- "9090:9090"
|
|
|
|
grafana:
|
|
image: grafana/grafana:11.0.0
|
|
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
|
|
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
|
|
ports:
|
|
- "3000:3000"
|