@sentry/opentelemetry 10.34.0 → 10.36.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.
package/build/cjs/index.js
CHANGED
|
@@ -341,7 +341,7 @@ function inferSpanData(spanName, attributes, kind) {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
// eslint-disable-next-line deprecation/deprecation
|
|
344
|
-
const dbSystem = attributes[semanticConventions.SEMATTRS_DB_SYSTEM];
|
|
344
|
+
const dbSystem = attributes[semanticConventions.ATTR_DB_SYSTEM_NAME] || attributes[semanticConventions.SEMATTRS_DB_SYSTEM];
|
|
345
345
|
const opIsCache =
|
|
346
346
|
typeof attributes[core.SEMANTIC_ATTRIBUTE_SENTRY_OP] === 'string' &&
|
|
347
347
|
attributes[core.SEMANTIC_ATTRIBUTE_SENTRY_OP].startsWith('cache.');
|