The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
services:
traceway:
build:
context: ../..
dockerfile: Dockerfile.minimal
ports:
- "${BENCH_PORT:-8087}:80"
environment:
CLICKHOUSE_SERVER: "clickhouse:9000"
CLICKHOUSE_DATABASE: "traceway"
CLICKHOUSE_USERNAME: "default"
CLICKHOUSE_PASSWORD: "clickhouse"
CLICKHOUSE_TLS: "false"
POSTGRES_HOST: "postgres"
POSTGRES_PORT: "5432"
POSTGRES_DATABASE: "traceway"
POSTGRES_USERNAME: "traceway"
POSTGRES_PASSWORD: "traceway"
POSTGRES_SSLMODE: "disable"
JWT_SECRET: "bench-jwt-secret-not-for-production-use-only-32chars+"
HEALTH_DEEP_TOKEN: "bench-health-token-not-for-production"
GIN_MODE: "release"
CH_ASYNC_INSERT: "${CH_ASYNC_INSERT:-0}"
depends_on:
clickhouse:
condition: service_healthy
postgres:
condition: service_healthy
restart: on-failure:3
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost/health"]
interval: 5s
timeout: 3s
start_period: 10s
retries: 20
clickhouse:
image: clickhouse/clickhouse-server:24.8-alpine
environment:
CLICKHOUSE_DB: traceway
CLICKHOUSE_PASSWORD: clickhouse
volumes:
- clickhouse-bench-data:/var/lib/clickhouse
healthcheck:
test: ["CMD", "clickhouse-client", "--password", "clickhouse", "--query", "SELECT 1"]
interval: 5s
timeout: 3s
start_period: 10s
retries: 20
restart: on-failure:3
ulimits:
nofile:
soft: 262144
hard: 262144
postgres:
image: postgres:17
environment:
POSTGRES_USER: traceway
POSTGRES_PASSWORD: traceway
POSTGRES_DB: traceway
volumes:
- postgres-bench-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U traceway"]
interval: 5s
timeout: 3s
start_period: 10s
retries: 20
restart: on-failure:3
volumes:
clickhouse-bench-data:
postgres-bench-data: