We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ea73ec commit a1fdc86Copy full SHA for a1fdc86
packages/opentelemetry-node/src/spanprocessor.ts
@@ -145,6 +145,10 @@ export class SentrySpanProcessor implements OtelSpanProcessor {
145
hub.captureException(syntheticError, {
146
captureContext: {
147
contexts: {
148
+ otel: {
149
+ attributes: otelSpan.attributes,
150
+ resource: otelSpan.resource.attributes,
151
+ },
152
trace: {
153
trace_id: otelSpan.spanContext().traceId,
154
span_id: otelSpan.spanContext().spanId,
0 commit comments