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>
94 lines
2.8 KiB
YAML
94 lines
2.8 KiB
YAML
services:
|
|
tempo:
|
|
image: grafana/tempo:latest
|
|
command: [ "-config.file=/etc/tempo.yaml", "-target=all"]
|
|
volumes:
|
|
- ./tempo.yaml:/etc/tempo.yaml
|
|
- ./tempo-data:/var/tempo
|
|
ports:
|
|
- "4317:4317" # otlp grpc
|
|
- "4318:4318" # otlpc http
|
|
# push tenant-1 traces directly to tempo
|
|
k6-tracing-tenant-1:
|
|
image: ghcr.io/grafana/xk6-client-tracing:v0.0.9
|
|
environment:
|
|
- ENDPOINT=tempo:4317
|
|
- TEMPO_X_SCOPE_ORGID=tenant-1
|
|
restart: always
|
|
depends_on:
|
|
- tempo
|
|
|
|
# push tenant-2 into an otel collector that will attach the tenant header
|
|
k6-tracing-2:
|
|
image: ghcr.io/grafana/xk6-client-tracing:v0.0.9
|
|
environment:
|
|
- ENDPOINT=otel-collector:4317
|
|
restart: always
|
|
depends_on:
|
|
- tempo
|
|
|
|
otel-collector:
|
|
image: otel/opentelemetry-collector:0.145.0@sha256:8cad95dd3fe0304fbc5652373cc392be4ac915c4c210d2c425d3f1a1f7c3c3ca
|
|
command: [ "--config=/etc/otel-collector.yaml" ]
|
|
volumes:
|
|
- ./otel-collector.yaml:/etc/otel-collector.yaml
|
|
|
|
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_DEFAULT_APP_MODE=development
|
|
- 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"
|
|
|
|
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
|
|
|
|
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",
|
|
"-tempo-org-id=vulture-tenant",
|
|
]
|
|
depends_on:
|
|
- tempo
|