Skip to content

Commit

Permalink
Merge branch '2.9' into backport-9380-to-2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
emmettbutler authored May 28, 2024
2 parents f5bf770 + 079f76d commit 0ffce6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ddtrace/propagation/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
from ..internal.sampling import SamplingMechanism
from ..internal.sampling import validate_sampling_decision
from ..internal.utils.http import w3c_tracestate_add_p
from ..llmobs._utils import _inject_llmobs_parent_id
from ._utils import get_wsgi_header


Expand Down Expand Up @@ -978,6 +977,8 @@ def parent_call():
headers[_HTTP_BAGGAGE_PREFIX + key] = span_context._baggage[key]

if config._llmobs_enabled:
from ddtrace.llmobs._utils import _inject_llmobs_parent_id

_inject_llmobs_parent_id(span_context)

if PROPAGATION_STYLE_DATADOG in config._propagation_style_inject:
Expand Down

0 comments on commit 0ffce6b

Please sign in to comment.