We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11d7ab6 commit ec068ceCopy full SHA for ec068ce
tests/test_otel.py
@@ -2582,10 +2582,12 @@ def test_custom_should_export_span_with_composition(
2582
public_key=instrumentation_filtering_setup["test_key"],
2583
secret_key="test-secret-key",
2584
base_url="http://localhost:3000",
2585
- should_export_span=lambda span: is_default_export_span(span)
2586
- or (
2587
- span.instrumentation_scope is not None
2588
- and span.instrumentation_scope.name.startswith("my-framework")
+ should_export_span=lambda span: (
+ is_default_export_span(span)
+ or (
+ span.instrumentation_scope is not None
2589
+ and span.instrumentation_scope.name.startswith("my-framework")
2590
+ )
2591
),
2592
)
2593
0 commit comments