version: "3" services: # Generate fake traces... k6-tracing: image: ghcr.io/grafana/xk6-client-tracing:v0.0.2 environment: - ENDPOINT=host.docker.internal:4320 restart: always depends_on: - tempo # And put them in a Grafana Agent pipeline... # agent: # image: grafana/agent:v0.27.1 # volumes: # - ./agent.yaml:/etc/agent.yaml # entrypoint: # - /bin/agent # - -config.file=/etc/agent.yaml # To eventually offload to Tempo... tempo: image: grafana/tempo:latest command: [ "-config.file=/etc/tempo.yaml" ] volumes: - ../shared/tempo.yaml:/etc/tempo.yaml - ./tempo-data:/tmp/tempo ports: - "14268" # jaeger ingest - "3200" # tempo - "4317:4317" # otlp grpc - "4318" # otlp http - "9411" # zipkin prometheus: image: prom/prometheus:latest command: - --config.file=/etc/prometheus.yaml - --web.enable-remote-write-receiver - --enable-feature=exemplar-storage volumes: - ../shared/prometheus.yaml:/etc/prometheus.yaml ports: - "9090:9090" grafana: image: grafana/grafana:9.4.3 volumes: - ../shared/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml environment: - GF_AUTH_ANONYMOUS_ENABLED=true - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin - GF_AUTH_DISABLE_LOGIN_FORM=true - GF_FEATURE_TOGGLES_ENABLE=traceqlEditor ports: - "3000:3000"