How to export telemetry to the OTEL collector
This guide explains how to export Aidbox telemetry in OpenTelemetry format
Last updated
This guide explains how to export Aidbox telemetry in OpenTelemetry format
Last updated
Aidbox produces three types of signals: logs, metrics and traces in OTEL specification.
Aidbox supports exporting telemetry using the Protobuf protocol in line with the OTEL specification. This guide configures Aidbox to export telemetry to the OpenTelemetry collector, but the setup can also be modified to export to other telemetry consumers that adhere to this specification.
OTEL collector should be deployed and configured to receive logs, metrics and traces.
Aidbox should be configured with Aidbox configuration project.
To enable exporting telemetry to the OTEL collector:
Import aidbox.log
, aidbox.telemetry.metrics
, aidbox.telemetry.trace
Define open-telemetry-appender
, open-telemetry-metrics-exporter
, otel-trace-exporter
Add otel-appender
to the services
Restart Aidbox
logging
exporter and logs
, metrics
, traces
pipelines in the OTEL collector configuration:Use Aidbox REST console to perform a request like this:
Open OTEL collector stdout and see the logs, metrics and traces.