Skip to content

Commit

Permalink
squash: Remove surperfluous context injection
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin committed Oct 8, 2023
1 parent eba4ba0 commit 2e3d435
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def start(name, id, payload)
def on_start(name, _id, payload)
span = @tracer.start_span(name, attributes: @mapper.call(payload))
tokens = [OpenTelemetry::Context.attach(OpenTelemetry::Trace.context_with_span(span))]
OpenTelemetry.propagation.inject(payload.fetch(:job).__otel_headers) # This must be transmitted over the wire

{ span: span, ctx_tokens: tokens }
end
Expand Down

0 comments on commit 2e3d435

Please sign in to comment.