We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82b6b1 commit 535213bCopy full SHA for 535213b
packages/nuxt/src/runtime/plugins/database.server.ts
@@ -5,6 +5,7 @@ import {
5
captureException,
6
debug,
7
flushIfServerless,
8
+ SEMANTIC_ATTRIBUTE_SENTRY_OP,
9
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
10
SPAN_STATUS_ERROR,
11
startSpan,
@@ -193,12 +194,12 @@ function createBreadcrumb(query: string): void {
193
194
*/
195
function createStartSpanOptions(query: string, dialect: string): StartSpanOptions {
196
return {
- op: 'db.query',
197
name: query,
198
attributes: {
199
'db.system.name': dialect,
200
'db.query.text': query,
201
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: SENTRY_ORIGIN,
202
+ [SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'db.query',
203
},
204
};
205
}
0 commit comments