Skip to content

Commit

Permalink
Zipkin for Eureka
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Nov 3, 2022
1 parent baa0e64 commit d7ddb5f
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions docker-compose-EUREKA.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
version: '3'
services:

rabbitmq:
image: rabbitmq:management
extra_hosts: [ 'host.docker.internal:host-gateway' ]
ports:
- "5672:5672"
- "15672:15672"

tempo:
image: grafana/tempo

# tempo:
# image: grafana/tempo
# extra_hosts: ['host.docker.internal:host-gateway']
# command: [ "-config.file=/etc/tempo.yaml" ]
# volumes:
# - ./docker/tempo/tempo-local.yaml:/etc/tempo.yaml
# - ./tempo-data:/tmp/tempo
# ports:
# - "14268" # jaeger ingest
# - "9411:9411" # zipkin

zipkin:
image: openzipkin/zipkin
extra_hosts: [ 'host.docker.internal:host-gateway' ]
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./docker/tempo/tempo-local.yaml:/etc/tempo.yaml
- ./tempo-data:/tmp/tempo
ports:
- "14268" # jaeger ingest
- "9411:9411" # zipkin

loki:
image: grafana/loki
extra_hosts: [ 'host.docker.internal:host-gateway' ]
Expand All @@ -26,10 +33,10 @@ services:
- "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_ENDPOINT=http://tempo:14268/api/traces # send traces to Tempo
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1

prometheus:
image: prom/prometheus
extra_hosts: [ 'host.docker.internal:host-gateway' ]
Expand All @@ -40,7 +47,7 @@ services:
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
ports:
- "9090:9090"

grafana:
image: grafana/grafana
extra_hosts: [ 'host.docker.internal:host-gateway' ]
Expand Down

0 comments on commit d7ddb5f

Please sign in to comment.