Skip to content

Commit

Permalink
Make ingest traces to be nested under endpoint traces (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
edknv authored Nov 26, 2024
1 parent 9d27100 commit 93b0781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nv_ingest/modules/telemetry/otel_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def collect_timestamps(message):
is_remote=True,
trace_flags=TraceFlags(0x01),
)
parent_ctx = trace.set_span_in_context(span_context)
parent_ctx = trace.set_span_in_context(NonRecordingSpan(span_context))
parent_span = tracer.start_span(job_id, context=parent_ctx, start_time=start_time)

create_span_with_timestamps(tracer, parent_span, message)
Expand Down

0 comments on commit 93b0781

Please sign in to comment.