2021-06-07 17:20:46 +02:00
|
|
|
version: "3"
|
2021-06-03 11:20:19 -04:00
|
|
|
services:
|
2021-06-07 17:20:46 +02:00
|
|
|
|
2021-06-03 11:20:19 -04:00
|
|
|
# Generate fake traces...
|
|
|
|
synthetic-load-generator:
|
2022-09-29 17:48:17 +10:00
|
|
|
image: omnition/synthetic-load-generator:1.0.29
|
2021-06-03 11:20:19 -04:00
|
|
|
volumes:
|
2021-06-07 17:20:46 +02:00
|
|
|
- ../shared/load-generator.json:/etc/load-generator.json
|
2021-06-03 11:20:19 -04:00
|
|
|
environment:
|
|
|
|
- TOPOLOGY_FILE=/etc/load-generator.json
|
|
|
|
- JAEGER_COLLECTOR_URL=http://otel-collector:14268
|
|
|
|
|
|
|
|
# And put them in an OTEL collector pipeline...
|
|
|
|
otel-collector:
|
2022-09-29 17:48:17 +10:00
|
|
|
image: otel/opentelemetry-collector:0.61.0
|
2021-06-07 17:20:46 +02:00
|
|
|
command: [ "--config=/etc/otel-collector.yaml" ]
|
2021-06-03 11:20:19 -04:00
|
|
|
volumes:
|
2021-06-07 17:20:46 +02:00
|
|
|
- ./otel-collector.multitenant.yaml:/etc/otel-collector.yaml
|
2021-06-03 11:20:19 -04:00
|
|
|
|
|
|
|
# To eventually offload to Tempo...
|
|
|
|
tempo:
|
|
|
|
image: grafana/tempo:latest
|
2021-06-07 17:20:46 +02:00
|
|
|
command: [ "-multitenancy.enabled=true", "-config.file=/etc/tempo.yaml" ]
|
2021-06-03 11:20:19 -04:00
|
|
|
volumes:
|
2021-06-07 17:20:46 +02:00
|
|
|
- ../local/tempo-local.yaml:/etc/tempo.yaml
|
|
|
|
- ./tempo-data:/tmp/tempo
|
2021-06-03 11:20:19 -04:00
|
|
|
ports:
|
|
|
|
- "14268" # jaeger ingest
|
2021-07-14 16:28:18 +03:00
|
|
|
- "3200" # tempo
|
2022-02-21 13:24:36 +01:00
|
|
|
- "4317" # otlp grpc
|
|
|
|
- "4318" # otlp http
|
2021-06-03 11:20:19 -04:00
|
|
|
- "9411" # zipkin
|
|
|
|
|
2021-06-07 17:20:46 +02:00
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus:latest
|
2022-09-29 17:48:17 +10:00
|
|
|
command:
|
|
|
|
- --config.file=/etc/prometheus.yaml
|
|
|
|
- --web.enable-remote-write-receiver
|
|
|
|
- --enable-feature=exemplar-storage
|
2021-06-07 17:20:46 +02:00
|
|
|
volumes:
|
|
|
|
- ../shared/prometheus.yaml:/etc/prometheus.yaml
|
|
|
|
ports:
|
|
|
|
- "9090:9090"
|
|
|
|
|
2021-06-03 11:20:19 -04:00
|
|
|
grafana:
|
2022-09-29 17:48:17 +10:00
|
|
|
image: grafana/grafana:9.1.6
|
2021-06-03 11:20:19 -04:00
|
|
|
volumes:
|
2021-06-07 17:20:46 +02:00
|
|
|
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
|
2021-06-03 11:20:19 -04:00
|
|
|
environment:
|
|
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
|
|
ports:
|
2021-10-06 01:19:05 -06:00
|
|
|
- "3000:3000"
|