Skip to content

Instantly share code, notes, and snippets.

@medzhidov
Last active July 4, 2022 15:26
Show Gist options
  • Save medzhidov/4b5d214ddad08804d7810a4aad79520e to your computer and use it in GitHub Desktop.
Save medzhidov/4b5d214ddad08804d7810a4aad79520e to your computer and use it in GitHub Desktop.
Docker compose preset for latest (1.35) Jaeger Agent
# This will starts only agent, to start core of Jaeger you need also this:
# https://gist.github.com/medzhidov/668c1250ccb8b5f5f1d53e98da420465
version: "3"
services:
jaeger-agent:
image: jaegertracing/jaeger-agent
# replace JAEGER-HOST with host of your started jaeger
command: ["--reporter.grpc.host-port=JAEGER-HOST:14250", "--log-level=info"]
ports:
# remove "127.0.0.1:" if you need to make this ports accessible in internet
- "127.0.0.1:5775:5775/udp"
- "127.0.0.1:6831:6831/udp"
- "127.0.0.1:6832:6832/udp"
- "127.0.0.1:5778:5778"
restart: on-failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment