@sentry/opentelemetry 8.0.0-beta.4 → 8.0.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.js CHANGED
@@ -1118,10 +1118,7 @@ function setupEventContextTrace(client) {
1118
1118
  ...event.sdkProcessingMetadata,
1119
1119
  };
1120
1120
 
1121
- const transactionName = spanHasName(rootSpan) ? rootSpan.name : undefined;
1122
- if (transactionName && !event.transaction) {
1123
- event.transaction = transactionName;
1124
- }
1121
+ return event;
1125
1122
  });
1126
1123
  }
1127
1124