Тo enable request tracing within Insights, we have implemented several aspects of the OpenTelemetry standard:
- All incoming requests containing a valid traceparent header are now assigned a new span ID, while maintaining the trace context throughout the system.
- For REST requests originating from within Insights, a traceparent header is automatically added to propagate the tracing context to downstream services.
- Tracing is also supported for data uploads: the traceparent header is recorded in the metadata fields of the processed document.
- Additionally, HTTP requests in system events triggered by requests with a valid traceparent header automatically propagate the tracing context, including the Insights span.
