You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
Currently, in Node.js auto-instrumentation, capturing request or response headers requires code-level hooks (e.g., requestHook/responseHook). There is no support for configuring this via environment variables.
In contrast, the Java agent supports header capture through env vars like OTEL_INSTRUMENTATION_HTTP_SERVER_CAPTURE_REQUEST_HEADERS
Is there any similar support of capturing request and response headers or if not would it be possible to add similar support to the Node.js auto-instrumentation, to allow declarative configuration via environment variables?