Skip to content

Commit 768c71c

Browse files
authored
Update filter_spans.py (Azure#38774)
1 parent b018a52 commit 768c71c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/monitor/azure-monitor-opentelemetry/samples/tracing/filter_spans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class SpanFilteringProcessor(SpanProcessor):
1515

1616
# Prevents exporting spans that are of kind INTERNAL
17-
def on_start(self, span, parent_context):
17+
def on_start(self, span, parent_context): # type: ignore
1818
# Check if the span is an internal activity.
1919
if span._kind is SpanKind.INTERNAL:
2020
# Create a new span context with the following properties:

0 commit comments

Comments
 (0)