Skip to content

Commit c266c6d

Browse files
committed
Merge branch 'master' into feat/span-first
2 parents ab080c6 + 1d4adf0 commit c266c6d

5 files changed

Lines changed: 499 additions & 328 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- master
77
- release/**
8-
- potel-base
98

109
pull_request:
1110

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
push:
1616
branches:
1717
- master
18-
- potel-base
1918
pull_request:
2019
schedule:
2120
- cron: '18 18 * * 3'

.github/workflows/enforce-license-compliance.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- master
77
- main
88
- release/*
9-
- potel-base
109
pull_request:
1110

1211
# Cancel in progress workflows on pull_requests.

sentry_sdk/tracing_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,6 @@ def create_streaming_span_decorator(
10521052
"""
10531053
Create a span creating decorator that can wrap both sync and async functions.
10541054
"""
1055-
from sentry_sdk.scope import should_send_default_pii
10561055

10571056
def span_decorator(f: "Any") -> "Any":
10581057
"""
@@ -1619,9 +1618,11 @@ def _matches(rule: "Any", value: "Any") -> bool:
16191618
SENTRY_TRACE_HEADER_NAME,
16201619
Span,
16211620
)
1621+
from sentry_sdk.traces import (
1622+
start_span as start_streaming_span,
1623+
)
16221624

16231625
from sentry_sdk.traces import (
16241626
LOW_QUALITY_SEGMENT_SOURCES,
1625-
start_span as start_streaming_span,
16261627
StreamedSpan,
16271628
)

0 commit comments

Comments
 (0)