Observability & Monitoring
Send Databrain data to SigNoz
Send traces, metrics and logs from a self-hosted Databrain backend to SigNoz.
Before you start
- You read Send traces, metrics and logs to your tool.
- SigNoz Cloud: your region and an ingestion key, from Settings > Ingestion in SigNoz.
- Self-hosted SigNoz: the address of its OTel Collector. It takes OTLP/HTTP on port 4318, so you can skip the Collector below and set
OTEL_EXPORTER_OTLP_ENDPOINT=http://<signoz-host>:4318.
Steps
-
Run an OpenTelemetry Collector (
otel/opentelemetry-collector-contrib) with this config. SetSIGNOZ_REGIONandSIGNOZ_INGESTION_KEYon the Collector.receivers: otlp: protocols: http: endpoint: 0.0.0.0:4318 processors: batch: {} exporters: otlphttp/signoz: endpoint: https://ingest.${env:SIGNOZ_REGION}.signoz.cloud:443 headers: signoz-ingestion-key: ${env:SIGNOZ_INGESTION_KEY} service: pipelines: traces: receivers: [otlp] processors: [batch] exporters: [otlphttp/signoz] metrics: receivers: [otlp] processors: [batch] exporters: [otlphttp/signoz] logs: receivers: [otlp] processors: [batch] exporters: [otlphttp/signoz] -
Set these on the Databrain backend and restart it:
OTEL_ENABLED=true OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
Check it
In SigNoz, open Services. databrain-api shows up after a few requests. Logs are under Logs, metrics such as databrain.http.requests under Metrics.
If nothing arrives, check the Collector log first, then see Observability setup. SigNoz reference: SigNoz Cloud ingestion.