@sentry/opentelemetry 8.35.0 → 8.36.0-beta.0

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.
@@ -279,19 +279,6 @@ function isSentryRequestSpan(span) {
279
279
  * Infer the op & description for a set of name, attributes and kind of a span.
280
280
  */
281
281
  function inferSpanData(name, attributes, kind) {
282
- // This attribute is intentionally exported as a SEMATTR constant because it should stay intimite API
283
- if (attributes['sentry.skip_span_data_inference']) {
284
- return {
285
- op: undefined,
286
- description: name,
287
- source: 'custom',
288
- data: {
289
- // Suggest to callers of `parseSpanDescription` to wipe the hint because it is unnecessary data in the end.
290
- 'sentry.skip_span_data_inference': undefined,
291
- },
292
- };
293
- }
294
-
295
282
  // if http.method exists, this is an http request span
296
283
  // eslint-disable-next-line deprecation/deprecation
297
284
  const httpMethod = attributes[semanticConventions.ATTR_HTTP_REQUEST_METHOD] || attributes[semanticConventions.SEMATTRS_HTTP_METHOD];
@@ -1875,7 +1862,6 @@ function removeSentryAttributes(data) {
1875
1862
  /* eslint-disable @typescript-eslint/no-dynamic-delete */
1876
1863
  delete cleanedData[core.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE];
1877
1864
  delete cleanedData[SEMANTIC_ATTRIBUTE_SENTRY_PARENT_IS_REMOTE];
1878
- delete cleanedData['sentry.skip_span_data_inference'];
1879
1865
  /* eslint-enable @typescript-eslint/no-dynamic-delete */
1880
1866
 
1881
1867
  return cleanedData;