OpenTelemetry logs
This guide explains how to export Aidbox logs in OpenTelemetry format
Prerequisites
OTEL collector should be deployed and configured to receive logs.
How to enable logs export to the OTEL collector
To enable exporting logs to the OTEL collector set the OTEL collector logs receiver endpoint to the Aidbox setting observability.otel.logs-url
How to check the OTEL collector receives logs
Set up debug
exporter and logs
pipeline in the OTEL collector configuration:
debug
exporter and logs
pipeline in the OTEL collector configuration:See Aidbox logs in the OTEL collector stdout
Open OTEL collector stdout and see the logs.
Check logs sending status
The common endpoint for checking status of sending metrics process
Force flush OTEL logs
To force flush all the logs Aidbox has in the queue use $flush
endpoint:
Check all available Aidbox OTEL logs exporter configuration options are here:
Last updated
Was this helpful?