github.com/grafana/pyroscope@v1.18.0/examples/tracing/ruby/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 hostname: us-east 11 environment: &env 12 OTLP_URL: tempo:4318 13 OTLP_INSECURE: 1 14 DEBUG_LOGGER: 1 15 OTEL_LOG_LEVEL: debug 16 OTEL_TRACES_EXPORTER: otlp 17 OTEL_EXPORTER_OTLP_ENDPOINT: "http://tempo:4318" 18 OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf" 19 OTEL_SDK_DEBUG: "true" 20 OTEL_SERVICE_NAME: rideshare.ruby.push.app 21 OTEL_METRICS_EXPORTER: none 22 OTEL_TRACES_SAMPLER: always_on 23 OTEL_PROPAGATORS: tracecontext 24 REGION: us-east 25 PYROSCOPE_LABELS: hostname=us-east 26 PYROSCOPE_SERVER_ADDRESS: http://pyroscope:4040 27 build: 28 context: . 29 30 eu-north: 31 ports: 32 - "5000" 33 hostname: eu-north 34 environment: 35 <<: *env 36 REGION: eu-north 37 PYROSCOPE_LABELS: hostname=eu-north 38 build: 39 context: . 40 41 ap-south: 42 ports: 43 - "5000" 44 hostname: ap-south 45 environment: 46 <<: *env 47 REGION: ap-south 48 PYROSCOPE_LABELS: hostname=ap-south 49 build: 50 context: . 51 52 load-generator: 53 environment: *env 54 build: 55 context: ../../language-sdk-instrumentation/golang-push/rideshare 56 dockerfile: Dockerfile.load-generator 57 command: 58 - ./loadgen 59 - http://us-east:5000 60 - http://eu-north:5000 61 - http://ap-south:5000 62 63 grafana: 64 image: grafana/grafana:latest 65 environment: 66 - GF_PLUGINS_PREINSTALL_SYNC=grafana-pyroscope-app 67 - GF_AUTH_ANONYMOUS_ENABLED=true 68 - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin 69 - GF_AUTH_DISABLE_LOGIN_FORM=true 70 - GF_FEATURE_TOGGLES_ENABLE=traceToProfiles tracesEmbeddedFlameGraph 71 volumes: 72 - ./grafana-provisioning:/etc/grafana/provisioning 73 ports: 74 - "3000:3000" 75 76 tempo: 77 image: grafana/tempo:latest 78 command: [ "-config.file=/etc/tempo.yml" ] 79 volumes: 80 - ./tempo/tempo.yml:/etc/tempo.yml 81 ports: 82 - "14268:14268" # jaeger ingest 83 - "3200:3200" # tempo 84 - "9095:9095" # tempo grpc 85 - "4317:4317" # otlp grpc 86 - "4318:4318" # otlp http 87 - "9411:9411" # zipkin