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

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