We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d0e6b6 commit 27aa889Copy full SHA for 27aa889
1 file changed
lib/sentry/opentelemetry/span_processor.ex
@@ -37,17 +37,6 @@ if Sentry.OpenTelemetry.VersionChecker.tracing_compatible?() do
37
end
38
39
defp process_span(span_record) do
40
- # Check if this is a root span (no parent) or a transaction root
41
- #
42
- # A span should be a transaction root if:
43
- # 1. It has no parent (true root span)
44
- # 2. OR it's a server span with only a REMOTE parent (distributed tracing)
45
46
- # A span should NOT be a transaction root if:
47
- # - It has a LOCAL parent (parent span exists in our SpanStorage)
48
49
- # Note: LiveView spans during static render are filtered earlier by
50
- # skip_static_render_liveview_span?/1, so we don't need to handle them here.
51
is_transaction_root =
52
cond do
53
# No parent = definitely a root
0 commit comments