Jaeger
Use Jaeger as an OTLP-compatible backend for KalamDB distributed tracing.
Download Compose Example
Docker Compose Details
The compose file runs:
Start it:
Jaeger UI: http://127.0.0.1:16686
Connect KalamDB → Jaeger
Via gRPC (default, port 4317)
Via HTTP (port 4318)
The OTLP HTTP exporter appends /v1/traces automatically.
Via Environment Variables
What to Expect in Jaeger UI
After starting KalamDB with OTEL enabled:
- Open
http://127.0.0.1:16686. - Select the service name from the dropdown (default:
kalamdb-server). - Click Find Traces.
- You should see traces for API requests, SQL execution, and storage operations.
Each trace shows the full request lifecycle — from API entry through SQL parsing, query execution, and storage I/O.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| No service in Jaeger dropdown | OTEL not enabled or no traffic yet | Set enabled = true, execute some SQL, then refresh |
| Service appears but no traces | Endpoint mismatch | Verify protocol matches the port: grpc → 4317, http → 4318 |
| Connection refused | Jaeger not running or wrong port | Run docker compose ps to verify Jaeger is up |
| Traces delayed | Batch export timeout | Default timeout is 3000ms; increase timeout_ms if network is slow |
Related
For all OTEL configuration options and environment variable overrides, see OpenTelemetry (OTEL).
Last updated on