We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How possible would it be to add the user agent OTEL attribute to the root span? Ideally user_agent.original
user_agent.original
I was hoping to achieve this by using the attributesFromHeaders function but this seems to have no effect, e.g:
attributesFromHeaders
attributesFromHeaders: { 'user_agent.original': 'User-Agent' }
Reading through the code it seems like user agent is added in certain circumstances but this doesn't appear be included in our spans - see
otel/packages/otel/src/vercel-request-context/attributes.ts
Line 24 in 879fdcb
We're not hosting with Vercel if that helps.
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How possible would it be to add the user agent OTEL attribute to the root span? Ideally
user_agent.original
I was hoping to achieve this by using the
attributesFromHeaders
function but this seems to have no effect, e.g:Reading through the code it seems like user agent is added in certain circumstances but this doesn't appear be included in our spans - see
otel/packages/otel/src/vercel-request-context/attributes.ts
Line 24 in 879fdcb
We're not hosting with Vercel if that helps.
Thanks
The text was updated successfully, but these errors were encountered: