Skip to content

Commit b422f13

Browse files
committed
fix: Rename span op to be compatible with ot
1 parent 6e9e5ee commit b422f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/django/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def record_sql(sql, params, cursor=None):
373373
if real_sql:
374374
with capture_internal_exceptions():
375375
hub.add_breadcrumb(message=real_sql, category="query")
376-
span = hub.start_span(op="sql.query", description=real_sql)
376+
span = hub.start_span(op="db.statement", description=real_sql)
377377

378378
if span is None:
379379
yield

0 commit comments

Comments
 (0)