Skip to content

Commit 27aa889

Browse files
committed
chore(docs): remove outdated comment
1 parent 5d0e6b6 commit 27aa889

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

lib/sentry/opentelemetry/span_processor.ex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@ if Sentry.OpenTelemetry.VersionChecker.tracing_compatible?() do
3737
end
3838

3939
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.
5140
is_transaction_root =
5241
cond do
5342
# No parent = definitely a root

0 commit comments

Comments
 (0)