Devenv: Add loki self logging to Jaeger block (#23646)

This commit is contained in:
Andrej Ocenas
2020-05-05 09:51:21 +02:00
committed by GitHub
parent 341822450c
commit d66d9aa62a
3 changed files with 37 additions and 1 deletions

View File

@@ -10,6 +10,11 @@
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