How to use tracing
This guide explains how to activate traces and export them to the OTEL collector
Aidbox supports exporting traces using the Protobuf protocol in line with the OTEL specification. This guide configures Aidbox to export traces to the OpenTelemetry collector, but the setup can also be modified to export to other traces consumers that adhere to this specification.
Prerequisites
OTEL collector should be deployed and configured to receive traces.
Aidbox should be configured with Aidbox configuration project.
How to enable tracing
To enable tracing in Aidbox:
Import
aidbox.telemetry.trace
Define
otel-trace-exporter
Restart Aidbox
How to check the OTEL collector receives traces
Set up logging
exporter and traces
pipeline in the OTEL collector configuration:
logging
exporter and traces
pipeline in the OTEL collector configuration:Run any request in Aidbox
Use Aidbox REST console to perform a request like this:
See Aidbox traces in the OTEL collector stdout
Open OTEL collector stdout and see the traces.
Check traces sending status
The common endpoint for checking the status of sending metrics process
In this case
Last updated