Skip to content

Commit

Permalink
[faraday] update the HTTP_HEADER_PARENT_ID to send the span_id instea…
Browse files Browse the repository at this point in the history
…d of parent_id
  • Loading branch information
Emanuele Palazzetti committed Oct 2, 2017
1 parent c17aea0 commit cb24e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ddtrace/contrib/faraday/middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def handle_response(span, env)
def propagate!(span, env)
env[:request_headers].merge!(
Ext::DistributedTracing::HTTP_HEADER_TRACE_ID => span.trace_id,
Ext::DistributedTracing::HTTP_HEADER_PARENT_ID => span.parent_id
Ext::DistributedTracing::HTTP_HEADER_PARENT_ID => span.span_id
)
end

Expand Down

0 comments on commit cb24e6f

Please sign in to comment.