mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
33 lines
1014 B
YAML
33 lines
1014 B
YAML
jaeger:
|
|
image: jaegertracing/all-in-one:latest
|
|
ports:
|
|
- "6831:6831/udp"
|
|
- "16686:16686"
|
|
# Additional loki to generate some traces
|
|
# datasource URL: http://localhost:3100/
|
|
loki:
|
|
image: grafana/loki:master
|
|
ports:
|
|
- "3100:3100"
|
|
command: -config.file=/etc/loki/local-config.yaml
|
|
# For this to work you need to install the logging driver see https://github.com/grafana/loki/tree/master/cmd/docker-driver#plugin-installation
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: "http://localhost:3100/loki/api/v1/push"
|
|
# Optional jaeger tracing
|
|
environment:
|
|
- JAEGER_AGENT_HOST=jaeger
|
|
- JAEGER_AGENT_PORT=6831
|
|
- JAEGER_SAMPLER_TYPE=const
|
|
- JAEGER_SAMPLER_PARAM=1
|
|
promtail:
|
|
image: grafana/promtail:master
|
|
volumes:
|
|
- ./docker/blocks/loki/config.yaml:/etc/promtail/docker-config.yaml
|
|
- /var/log:/var/log
|
|
- ../data/log:/var/log/grafana
|
|
command:
|
|
-config.file=/etc/promtail/docker-config.yaml
|
|
|