Public documentation

Documentation indexRead as Markdown

Propagate context and correlate logs

Propagation lets services participating in one operation retain a shared trace identity. Configure both sides of every boundary: an instrumented sender injects context, and an instrumented receiver extracts it before starting related work.

HTTP requests

For a supported HTTP framework/client, use its language instrumentation and W3C Trace Context propagation. The request carries traceparent, and may also carry tracestate when the SDK supports it. A forwarding-only proxy should preserve those headers. An instrumented proxy creates its own span and injects the resulting outbound context.

  1. Enable server instrumentation before the application handles requests.
  2. Enable outgoing client instrumentation before creating reusable clients where required by the integration.
  3. Ensure the active request context flows into the client call.
  4. Configure proxies and gateways to preserve valid tracing headers.
  5. Verify a request through two services and inspect the stored parent/child relationship.

If your runtime does not support automatic extraction or injection, use its propagator API with the framework's header carrier. Do not create or concatenate trace header strings by hand. See the language guides for SDK initialization.

Browser requests

The Corridora browser agent propagates traceparent for eligible same-origin requests and configured exact HTTPS origins. Cross-origin APIs must permit that header in CORS and retain their existing authentication and origin policy.

Install the RUM agent before application fetch/XHR calls. Backend instrumentation must extract the incoming context and export its server span to the same Corridora organization. Cloud-native request IDs do not substitute for this shared trace context.

An initial HTML navigation happens before page JavaScript. Static-resource timing, CDN cache hits, and requests made before agent initialization do not automatically form a browser-to-origin trace. Check the actual request and recorded identifiers rather than assuming every network row has a backend span.

Asynchronous tasks and queues

Within a process, use the runtime's context mechanism across asynchronous work. Creating a span after losing the active context starts an unrelated root unless a parent or span link is supplied explicitly.

For a queue or message transport:

  1. Start or use a producer operation's active context.
  2. Inject propagation fields into supported message metadata.
  3. Preserve that metadata across broker transformations, retries, and dead-letter handling where appropriate.
  4. Extract it on the consumer before creating the processing span.
  5. Use the messaging instrumentation's parent/link convention, especially for batches containing messages from different traces.
  6. Verify a produced test message and its consumer work in stored telemetry.

Do not put tracing metadata into an application payload unless the producer and consumer share an explicit compatible envelope. Do not attach one message's parent to an unrelated batch. Retry attempts are separate observations; retain enough metadata to distinguish them without generating unbounded metric labels.

Correlated logs

Use the logging integration's bridge to attach trace and span IDs from the active context to the OTLP log record. Test a log emitted inside a request span and another outside it. The first should reference the operation; the second may legitimately have no trace context.

If logs are collected from files, parse the logging format's trace/span fields into the corresponding OTLP fields. A printed ID inside free text is useful to a person but is not equivalent to a parsed correlation field. Preserve the application timestamp and severity when the parser supports them.

Select either direct SDK export or file collection for a given stream unless you intentionally handle duplicate delivery.

Diagnose a split trace

Compare the incoming header, the server span's trace and parent IDs, the outgoing client span, and the next service's server span. The first mismatch identifies the propagation boundary to examine. If IDs agree but a span is missing from Corridora, investigate sampling and export rather than changing propagation.

Treat incoming tracing metadata as observability input, not authentication or authorization. Do not place credentials or private user details in baggage. Complete verification with representative asynchronous and messaging paths as well as a simple HTTP request.