github.com/grafana/pyroscope@v1.18.0/examples/tracing/java/docker-compose.yml (about)

     1  services:
     2    pyroscope:
     3      image: grafana/pyroscope:1.13.4
     4      ports:
     5      - "4040:4040"
     6  
     7    us-east:
     8      ports:
     9      - "5000"
    10      environment: &env
    11        OTLP_URL: tempo:4318
    12        OTLP_INSECURE: 1
    13        OTEL_TRACES_EXPORTER: otlp
    14        OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:4317
    15        OTEL_EXPORTER_OTLP_PROTOCOL: grpc
    16        OTEL_SERVICE_NAME: rideshare.java.push.app
    17        OTEL_METRICS_EXPORTER: none
    18        OTEL_TRACES_SAMPLER: always_on
    19        OTEL_PROPAGATORS: tracecontext
    20        REGION: us-east
    21        PYROSCOPE_SERVER_ADDRESS: http://pyroscope:4040
    22      build:
    23        context: .
    24    eu-north:
    25      ports:
    26      - "5000"
    27      environment:
    28        <<: *env
    29        REGION: eu-north
    30      build:
    31        context: .
    32    ap-south:
    33      ports:
    34      - "5000"
    35      environment:
    36        <<: *env
    37        REGION: ap-south
    38      build:
    39        context: .
    40  
    41    load-generator:
    42      build:
    43        context: .
    44        dockerfile: Dockerfile.load-generator
    45  
    46    grafana:
    47      image: grafana/grafana:latest
    48      environment:
    49      - GF_PLUGINS_PREINSTALL_SYNC=grafana-pyroscope-app
    50      - GF_AUTH_ANONYMOUS_ENABLED=true
    51      - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
    52      - GF_AUTH_DISABLE_LOGIN_FORM=true
    53      - GF_FEATURE_TOGGLES_ENABLE=traceToProfiles tracesEmbeddedFlameGraph
    54      volumes:
    55      - ./grafana-provisioning:/etc/grafana/provisioning
    56      ports:
    57      - "3000:3000"
    58  
    59    tempo:
    60      image: grafana/tempo:latest
    61      command: [ "-config.file=/etc/tempo.yml" ]
    62      volumes:
    63        - ./tempo/tempo.yml:/etc/tempo.yml
    64      ports:
    65        - "14268:14268"  # jaeger ingest
    66        - "3200:3200"   # tempo
    67        - "9095:9095" # tempo grpc
    68        - "4317:4317"  # otlp grpc
    69        - "4318:4318"  # otlp http
    70        - "9411:9411"   # zipkin