A. Stoewer 3555fdf776 Update example images (#4842)
* Examples: upgrade xk6-client-tracing to v0.0.7

* Upgrade grafana to 11.5.2
2025-03-13 14:40:36 +10:00

90 lines
2.2 KiB
YAML

services:
tempo1:
image: grafana/tempo:latest
command: "-target=scalable-single-binary -config.file=/etc/tempo.yaml"
volumes:
- ./tempo-scalable-single-binary.yaml:/etc/tempo.yaml
restart: always
networks:
default:
aliases:
- tempo
depends_on:
- minio
ports:
- 3200:3200
tempo2:
image: grafana/tempo:latest
command: "-target=scalable-single-binary -config.file=/etc/tempo.yaml"
volumes:
- ./tempo-scalable-single-binary.yaml:/etc/tempo.yaml
restart: always
networks:
default:
aliases:
- tempo
depends_on:
- minio
tempo3:
image: grafana/tempo:latest
command: "-target=scalable-single-binary -config.file=/etc/tempo.yaml"
volumes:
- ./tempo-scalable-single-binary.yaml:/etc/tempo.yaml
restart: always
networks:
default:
aliases:
- tempo
depends_on:
- minio
vulture:
image: grafana/tempo-vulture:latest
command:
- "-prometheus-listen-address=:3201"
- "-tempo-push-url=http://tempo1"
- "-tempo-query-url=http://tempo1:3200"
- "-tempo-retention-duration=1h"
prometheus:
image: prom/prometheus:latest
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
- --enable-feature=native-histograms
volumes:
- ./prometheus.yaml:/etc/prometheus.yaml
grafana:
image: grafana/grafana:11.0.0
volumes:
- ./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
minio:
image: minio/minio:latest
environment:
- MINIO_ROOT_USER=tempo
- MINIO_ROOT_PASSWORD=supersecret
entrypoint: /bin/sh -c "mc mb --ignore-existing /data/tempo ; minio server /data --console-address ':9001'"
ports:
- 9001:9001
k6-tracing:
image: ghcr.io/grafana/xk6-client-tracing:v0.0.7
environment:
- ENDPOINT=tempo1:4317
restart: always
depends_on:
- tempo1