Skip to content

Commit 6979215

Browse files
committed
Do not create the redis breadcrumbs in tracing code (because this is done in the integration now
1 parent 6e129b6 commit 6979215

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,7 @@ def record_sql_queries(
157157

158158
def maybe_create_breadcrumbs_from_span(scope, span):
159159
# type: (sentry_sdk.Scope, sentry_sdk.tracing.Span) -> None
160-
if span.op == OP.DB_REDIS:
161-
scope.add_breadcrumb(
162-
message=span.description,
163-
type="redis",
164-
category="redis",
165-
data=span._tags,
166-
)
167-
elif span.op == OP.HTTP_CLIENT:
160+
if span.op == OP.HTTP_CLIENT:
168161
scope.add_breadcrumb(
169162
type="http",
170163
category="httplib",

0 commit comments

Comments
 (0)