Capture custom headers in opentelemetry as span attributes

Hello,

I’m just wondering if we can capture custom headers in tyk api gateway for tracing purposes when opnetelemetry is enabled. Right now only some general http headers are exported to otel collector:
OpenTelemetry Integration with Tyk Gateway

Suggestion to implement: This could be done in the same way as python instrumentation:
Auto-Instrumentation Example | OpenTelemetry, so the env variable to specify which headers we want to capture and send to opentelemetry collector.

Hi @ad01bl,

Thank you for the suggestion, and welcome to the community :partying_face:

We’ve raised a Feature Request for this; its internal reference is TT-12446.

Best regards,