ers from an HTTP request using OpenTelemetry libraries:</p><pre><code class=language-python data-expandlinks=true data-repo=istio>def getForwardHeaders(request):
    headers = {}

    # x-b3-*** headers can be populated using the OpenTelemetry span
    ctx = propagator.extract(carrier={k.lower(): v for k, v in request.headers})
    propagator.inject(headers, ctx)

    # ...

        incoming_headers = [&#39;x-request-id&#39;,
        &#39;x-ot-span-context&#39;,
        &#39;x-datadog-trace-id&#39;,
       