feat: opentelemetry-tracing #3

Merged
sharang merged 3 commits from feature/opentelemetry-tracing into main 2026-03-07 23:51:20 +00:00

3 Commits

Author SHA1 Message Date
Sharang Parnerkar
b234443324 Run cargo fmt across all crates
All checks were successful
CI / Format (push) Successful in 2s
CI / Clippy (push) Successful in 3m2s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Successful in 3s
CI / Clippy (pull_request) Successful in 3m5s
CI / Security Audit (pull_request) Has been skipped
CI / Tests (pull_request) Has been skipped
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:51:08 +00:00
Sharang Parnerkar
fe57e9e9bc Add Keycloak and OpenTelemetry env vars to .env.example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:51:08 +00:00
Sharang Parnerkar
c61497420a Add OpenTelemetry tracing and log export via OTLP
Shared telemetry init module in compliance-core (behind `telemetry` feature)
sets up OTLP/gRPC export for traces and logs when OTEL_EXPORTER_OTLP_ENDPOINT
is set. Falls back to console-only output when unset.

Both agent and dashboard now use the shared init. Docker Compose includes
an OTel Collector service with a config template for SigNoz, Grafana
Tempo/Loki, Jaeger, etc.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:51:08 +00:00