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