mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
| datasource | package | from | to | | ---------- | --------------- | ------ | ------ | | docker | grafana/grafana | 12.3.2 | 12.3.3 | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
115 lines
3.1 KiB
YAML
115 lines
3.1 KiB
YAML
services:
|
|
# tempo, backend and kafka
|
|
tempo:
|
|
image: grafana/tempo:latest
|
|
depends_on:
|
|
- redpanda
|
|
command: "-target=all -config.file=/etc/tempo.yaml"
|
|
restart: always
|
|
volumes:
|
|
- ./tempo.yaml:/etc/tempo.yaml
|
|
- ./tempo-data:/var/tempo
|
|
ports:
|
|
- "3200:3200" # tempo
|
|
- "4317:4317" # Tempo OTLP GRPC
|
|
- "4318:4318" # Tempo OTLP HTTP
|
|
environment:
|
|
- OTEL_EXPORTER_OTLP_ENDPOINT=http://alloy:4318
|
|
|
|
minio:
|
|
image: minio/minio:latest
|
|
environment:
|
|
- MINIO_ACCESS_KEY=tempo
|
|
- MINIO_SECRET_KEY=supersecret
|
|
ports:
|
|
- "9001:9001"
|
|
entrypoint:
|
|
- sh
|
|
- -euc
|
|
- mkdir -p /data/tempo && minio server /data --console-address ':9001'
|
|
|
|
redpanda:
|
|
image: redpandadata/redpanda:latest
|
|
ports:
|
|
- "9092:9092" # Kafka API for clients
|
|
command: >
|
|
redpanda start --overprovisioned
|
|
--mode=dev-container
|
|
--kafka-addr=PLAINTEXT://0.0.0.0:9092
|
|
--advertise-kafka-addr=PLAINTEXT://redpanda:9092
|
|
|
|
redpanda-console:
|
|
image: docker.redpanda.com/redpandadata/console:v3.5.0@sha256:b2cbdd93dee412142f95a61488118f33b8e31ea576bfb3ce625fbaffbdf0803a
|
|
environment:
|
|
- CONFIG_FILEPATH=/etc/redpanda/redpanda-console-config.yaml
|
|
volumes:
|
|
- ./redpanda-console.yaml:/etc/redpanda/redpanda-console-config.yaml
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- redpanda
|
|
|
|
# ingest pipeline
|
|
k6-tracing:
|
|
image: ghcr.io/grafana/xk6-client-tracing:v0.0.9
|
|
environment:
|
|
- ENDPOINT=alloy:4317
|
|
restart: always
|
|
depends_on:
|
|
- tempo
|
|
- alloy
|
|
|
|
alloy:
|
|
image: grafana/alloy:v1.13.0@sha256:6616111d70b3c75d5aa177e0584a523403eaba0eb3b177cb387302c2206d5221
|
|
volumes:
|
|
- ./config.alloy:/etc/alloy/config.alloy
|
|
command:
|
|
- run
|
|
- /etc/alloy/config.alloy
|
|
- --storage.path=/var/lib/alloy/data
|
|
- --server.http.listen-addr=0.0.0.0:12345
|
|
environment:
|
|
- ALLOY_OTLP_UPSTREAM=tempo:4317
|
|
ports:
|
|
- "12345:12345"
|
|
- "4319:4317"
|
|
depends_on:
|
|
- tempo
|
|
|
|
# supporting services - metrics, visualization and testing
|
|
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
|
|
ports:
|
|
- "9090:9090"
|
|
|
|
grafana:
|
|
image: grafana/grafana:12.3.3@sha256:9e1e77ade304069aee3196e9a4f210830e96e80ce9a2640891eccc324b152faf
|
|
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 metricsSummary
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
vulture:
|
|
image: grafana/tempo-vulture:latest
|
|
restart: always
|
|
command:
|
|
[
|
|
"-prometheus-listen-address=:8080",
|
|
"-tempo-query-url=http://tempo:3200",
|
|
"-tempo-push-url=http://tempo:4317",
|
|
]
|
|
depends_on:
|
|
- tempo
|