next.js
47428727 - Reuse local span recorder for OpenTelemetry span processor

Commit
3 days ago
Reuse local span recorder for OpenTelemetry span processor Drop the unused global processor factory. Type the processor input as a structural ReadableSpan and record it through the recorder's identity and attribute helpers instead of a parallel copy. Share the recorder registry key, branch once on OpenTelemetry spans in the sanitizer, and fold the attribute-label gate into its helper. Move the processor test to its own fixture that registers it through instrumentation.ts with sdk-trace-node 1.x and 2.x. Co-Authored-By: Claude <noreply@anthropic.com>
Author
Committer
Parents
Loading