I would like to know if it’s possible to trace the HTTP headers sent to a web service behind the Tyk Gateway, and if so, how to do it. For my proof of concept, I am using Tyk 5.9.1, OpenTelemetry, and Jaeger 2.14.0.
Yes, it is possible to do this; however, this information is not captured by default so you would need, e.g, a custom plugin to read the headers from the request and record them as span attributes for instance.
access_logs is largely unrelated to OpenTelemetry.
When enabled, the Gateway includes individual API request details in its logs, which are written directly to stdout/stderr . This is purely a logging feature and does not affect OpenTelemetry tracing or metrics.
Additionally, access_logs cannot be modified or intercepted by plugins, at this time.