Created
July 23, 2019 20:25
-
-
Save eyeezzi/c330a0a2bdb15bcabb5ac46452b58609 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
user-simulator: # an instrumented service | |
build: user-simulator | |
environment: | |
JAEGER_SERVICE_NAME: user-simulator | |
JAEGER_AGENT_HOST: jaeger-agent | |
JAEGER_AGENT_PORT: 6832 | |
JAEGER_SAMPLER_TYPE: const | |
JAEGER_SAMPLER_PARAM: 1 | |
depends_on: | |
- jaeger-agent | |
jaeger-agent: | |
build: jaeger-agent | |
environment: | |
REPORTER_TYPE: grpc | |
REPORTER_GRPC_HOST_PORT: jaeger-collector:14250 | |
PROCESSOR_JAEGER_BINARY_SERVER_HOST_PORT: :6832 | |
ports: | |
- "6832:6832" # for receiving traces via UDP | |
depends_on: | |
- jaeger-collector | |
jaeger-collector: | |
build: jaeger-collector | |
environment: | |
SPAN_STORAGE_TYPE: elasticsearch | |
ES_SERVER_URLS: http://elasticsearch:9200 | |
ports: | |
- "14250:14250" # for receiving spans via grpc | |
depends_on: | |
- elasticsearch | |
jaeger-query: | |
build: jaeger-query | |
environment: | |
SPAN_STORAGE_TYPE: elasticsearch | |
ES_SERVER_URLS: http://elasticsearch:9200 | |
ports: | |
- "16686:16686" # provides UI | |
depends_on: | |
- elasticsearch | |
elasticsearch: | |
image: elasticsearch:5.6-alpine | |
ports: | |
- "9200:9200" # server listens here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment