mirror of
https://github.com/grafana/tempo.git
synced 2025-03-14 03:06:42 +00:00
* Updated all examples to use 7.5 Signed-off-by: Joe Elliott <number101010@gmail.com> * with with => with Signed-off-by: Joe Elliott <number101010@gmail.com>
65 lines
2.0 KiB
YAML
65 lines
2.0 KiB
YAML
version: "2"
|
|
services:
|
|
|
|
tempo:
|
|
image: grafana/tempo:latest
|
|
command:
|
|
- "-storage.trace.backend=local" # tell tempo where to permanently put traces
|
|
- "-storage.trace.local.path=/tmp/tempo/traces"
|
|
- "-storage.trace.wal.path=/tmp/tempo/wal" # tell tempo where to store the wal
|
|
- "-auth.enabled=false" # disables the requirement for the X-Scope-OrgID header
|
|
- "-server.http-listen-port=3100"
|
|
volumes:
|
|
- ./example-data/tempo:/tmp/tempo
|
|
ports:
|
|
- "14268" # jaeger ingest
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: 'http://localhost:3100/api/prom/push'
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
volumes:
|
|
- ./etc/prometheus.yaml:/etc/prometheus.yaml
|
|
entrypoint:
|
|
- /bin/prometheus
|
|
- --config.file=/etc/prometheus.yaml
|
|
ports:
|
|
- "9090:9090"
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: 'http://localhost:3100/api/prom/push'
|
|
|
|
grafana:
|
|
image: grafana/grafana:7.5.1
|
|
volumes:
|
|
- ./example-data/datasources:/etc/grafana/provisioning/datasources
|
|
- ./example-data/dashboards-provisioning:/etc/grafana/provisioning/dashboards
|
|
- ../../operations/tempo-mixin/out:/var/lib/grafana/dashboards
|
|
environment:
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
ports:
|
|
- "3000:3000"
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: 'http://localhost:3100/api/prom/push'
|
|
|
|
loki:
|
|
image: grafana/loki:2.1.0
|
|
command: -config.file=/etc/loki/local-config.yaml
|
|
ports:
|
|
- "3100:3100" # loki needs to be exposed so it receives logs
|
|
environment:
|
|
- JAEGER_AGENT_HOST=tempo
|
|
- JAEGER_ENDPOINT=http://tempo:14268/api/traces # send traces to Tempo
|
|
- JAEGER_SAMPLER_TYPE=const
|
|
- JAEGER_SAMPLER_PARAM=1
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: 'http://localhost:3100/api/prom/push' |