Open
Description
Feature Request
The library OpenTelemetry.Instrumentation.AspNet can today only extract headers from ordinary http headers.
I would like to extend this library to support SOAP-headers as well.
SOAP-header are not in the same place as ordinary http headers. Please see below:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<soap:Header>
<traceparent>00-392035ad9a5bc44b94715b99673d14f8-d8ca005e5d95554c-01</traceparent>
</soap:Header>
<soap:Body>
...
<soap:Fault>
...
</soap:Fault>
</soap:Body>
</soap:Envelope>
By extend the ActivityHelper class in OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule the library can support both types of headers.
My customer has a big number of ASMX-services that we would like to have tracing support.
I have made a working prototyp here that works!
I would like to contribute my solution to the OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule component.
Can a buddy help me start up the contribution?