Update Docker Compose configuration to enhance observability with health checks for Jaeger and OpenTelemetry Collector. Modify telemetry settings in the development configuration to enable metrics collection. Adjust endpoint settings for Jaeger in the OpenTelemetry Collector configuration.

This commit is contained in:
windyboy
2025-11-15 14:42:33 +08:00
parent cdb0cea8f7
commit 1378d6e31b
4 changed files with 15 additions and 3 deletions
+4
View File
@@ -119,6 +119,8 @@ tasks:
dev-run:
desc: Run receiver locally against dev stack
deps:
- up
env:
CAATSM_NATS_URL: nats://localhost:4222
CAATSM_NATS_MODE: jetstream
@@ -129,6 +131,8 @@ tasks:
GO_ENV: dev
cmds:
- |
echo "Ensuring observability stack is healthy (Jaeger @ http://localhost:16686)"
docker compose -f docker-compose.dev.yml ps jaeger otel-collector >/dev/null
echo "Running receiver with telemetry (mode=${CAATSM_NATS_MODE:-core})"
CAATSM_NATS_MODE=${CAATSM_NATS_MODE:-core} \
go run ./cmd/main listen