github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/hack/overrides/jaeger.yml (about)

     1  # jaeger.yml - a docker-compose override that adds 'jaeger to the stack.
     2  #
     3  # once running, head to `localhost:25000` to get access to the Jaeger UI.
     4  #
     5  # ref: https://www.jaegertracing.io/
     6  # ref: https://docs.docker.com/compose/extends/
     7  #
     8  version: "3"
     9  
    10  volumes:
    11    elasticsearch-data:
    12  services:
    13    web:
    14      environment:
    15        CONCOURSE_TRACING_SERVICE_NAME: atc
    16        CONCOURSE_TRACING_OTLP_ADDRESS: otel-collector:55680
    17  
    18    otel-collector:
    19      image: otel/opentelemetry-collector:0.11.0
    20      volumes:
    21        - ./hack/otel-collector:/etc/config
    22      command:
    23        - --config=/etc/config/otel-collector-config.yml
    24  
    25    jaeger:
    26      image: jaegertracing/all-in-one:1.14
    27      command:
    28        - --sampling.strategies-file=/etc/jaeger/sampling_strategies.json
    29        - --log-level=debug
    30      restart: on-failure
    31      environment:
    32        COLLECTOR_ZIPKIN_HTTP_PORT: 9411
    33        SPAN_STORAGE_TYPE: elasticsearch
    34        ES_SERVER_URLS: http://elasticsearch:9200
    35        ES_TAGS_AS_FIELDS_ALL: "true"
    36        ES_NUM_REPLICAS: 0
    37      ports:
    38        - "14268:14268"
    39        - "25000:16686"
    40        - "5775:5775/udp"
    41        - "5778:5778"
    42        - "6831:6831/udp"
    43        - "6832:6832/udp"
    44        - "9411:9411"
    45  
    46    elasticsearch:
    47      image: elasticsearch:7.6.1
    48      volumes:
    49        - elasticsearch-data:/usr/share/elasticsearch/data
    50      ports:
    51        - "9200:9200"
    52        - "9300:9300"
    53      environment:
    54        discovery.type: single-node
    55  
    56    kibana:
    57      image: kibana:7.6.1
    58      environment:
    59        ELASTICSEARCH_HOSTS: http://elasticsearch:9200
    60      ports:
    61        - "5601:5601"