File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ defmodule Sentry.Opentelemetry.SpanProcessor do
2222 root_span = SpanStorage . get_root_span ( span_record . span_id )
2323 child_spans = SpanStorage . get_child_spans ( span_record . span_id )
2424
25- transaction = transaction_from_root_span ( root_span , child_spans )
25+ transaction = build_transaction ( root_span , child_spans )
26+
2627 Sentry . send_transaction ( transaction )
2728 end
2829
@@ -34,10 +35,6 @@ defmodule Sentry.Opentelemetry.SpanProcessor do
3435 :ok
3536 end
3637
37- defp transaction_from_root_span ( root_span , child_spans ) do
38- build_transaction ( root_span , child_spans )
39- end
40-
4138 defp build_transaction ( % SpanRecord { origin: :undefined } = root_span , child_spans ) do
4239 Transaction . new ( % {
4340 transaction: root_span . name ,
You can’t perform that action at this time.
0 commit comments