Nexus API Reference

TraceCorrelationProcessor
in package
implements RecordProcessor

Read onlyYes
FinalYes
Tags
psalm-api

Stamps the active OpenTelemetry span's trace_id, span_id, and trace_flags onto each log record's extra, so log lines correlate with their trace. Runs synchronously on the caller's thread, so the ambient span (the actor's Consumer span, or the HTTP Server span) is current. No-op when observability is disabled, when no span is active, or on any telemetry error.

Table of Contents

Interfaces

RecordProcessor

Methods

__construct()  : mixed
process()  : Record

Methods


        
On this page

Search results