-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Milestone
Description
TraceContext currently has multiple enricher patterns that lack consistency:
traceCompletionEnrichers— filtered byonCompletemethodspanRecorderEnricher— found byrecordmethodspanEventEnricher— found byrecordExceptionmethodsqlMetadataService— passed separately (not via enricher system)
Each enricher is discovered by duck-typing specific method names and threaded through different paths (Trace, CallStack, SpanEventRecorder). This makes it hard to add new enrichers and increases constructor parameter count.
Consider unifying into a single enricher registry or context object that is passed through the trace lifecycle.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels