@sentry-internal/tracing
Advanced tools
Comparing version 7.49.0 to 7.50.0
@@ -26,3 +26,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
; | ||
return new integration.Mongo({ mongoose: true }); | ||
return new integration.Mongo(); | ||
}, | ||
@@ -29,0 +29,0 @@ mysql() { |
@@ -209,2 +209,3 @@ var { | ||
namespace: collection.namespace, | ||
'db.system': 'mongodb', | ||
}; | ||
@@ -211,0 +212,0 @@ const spanContext = { |
@@ -54,2 +54,5 @@ var { | ||
op: 'db', | ||
data: { | ||
'db.system': 'mysql', | ||
}, | ||
})]); | ||
@@ -56,0 +59,0 @@ |
@@ -68,2 +68,5 @@ var { | ||
op: 'db', | ||
data: { | ||
'db.system': 'postgresql', | ||
}, | ||
})]); | ||
@@ -70,0 +73,0 @@ |
@@ -58,3 +58,6 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const model = params.model; | ||
return core.trace({ name: model ? `${model} ${action}` : action, op: 'db.sql.prisma' }, () => next(params)); | ||
return core.trace( | ||
{ name: model ? `${model} ${action}` : action, op: 'db.sql.prisma', data: { 'db.system': 'prisma' } }, | ||
() => next(params), | ||
); | ||
}); | ||
@@ -61,0 +64,0 @@ } |
@@ -24,3 +24,3 @@ import { addTracingExtensions, getMainCarrier } from '@sentry/core'; | ||
; | ||
return new integration.Mongo({ mongoose: true }); | ||
return new integration.Mongo(); | ||
}, | ||
@@ -27,0 +27,0 @@ mysql() { |
@@ -204,2 +204,3 @@ import { _optionalChain } from '@sentry/utils/esm/buildPolyfills'; | ||
namespace: collection.namespace, | ||
'db.system': 'mongodb', | ||
}; | ||
@@ -206,0 +207,0 @@ const spanContext = { |
@@ -49,2 +49,5 @@ import { _optionalChain } from '@sentry/utils/esm/buildPolyfills'; | ||
op: 'db', | ||
data: { | ||
'db.system': 'mysql', | ||
}, | ||
})]); | ||
@@ -51,0 +54,0 @@ |
@@ -63,2 +63,5 @@ import { _optionalChain } from '@sentry/utils/esm/buildPolyfills'; | ||
op: 'db', | ||
data: { | ||
'db.system': 'postgresql', | ||
}, | ||
})]); | ||
@@ -65,0 +68,0 @@ |
@@ -56,3 +56,6 @@ import { trace } from '@sentry/core'; | ||
const model = params.model; | ||
return trace({ name: model ? `${model} ${action}` : action, op: 'db.sql.prisma' }, () => next(params)); | ||
return trace( | ||
{ name: model ? `${model} ${action}` : action, op: 'db.sql.prisma', data: { 'db.system': 'prisma' } }, | ||
() => next(params), | ||
); | ||
}); | ||
@@ -59,0 +62,0 @@ } |
{ | ||
"name": "@sentry-internal/tracing", | ||
"version": "7.49.0", | ||
"version": "7.50.0", | ||
"description": "Sentry Internal Tracing Package", | ||
@@ -19,5 +19,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "7.49.0", | ||
"@sentry/types": "7.49.0", | ||
"@sentry/utils": "7.49.0", | ||
"@sentry/core": "7.50.0", | ||
"@sentry/types": "7.50.0", | ||
"@sentry/utils": "7.50.0", | ||
"tslib": "^1.9.3" | ||
@@ -24,0 +24,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
834272
6177
+ Added@sentry/core@7.50.0(transitive)
+ Added@sentry/types@7.50.0(transitive)
+ Added@sentry/utils@7.50.0(transitive)
- Removed@sentry/core@7.49.0(transitive)
- Removed@sentry/types@7.49.0(transitive)
- Removed@sentry/utils@7.49.0(transitive)
Updated@sentry/core@7.50.0
Updated@sentry/types@7.50.0
Updated@sentry/utils@7.50.0