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
The attributesFromHeaders option does not seem to be working correctly, or it needs some more documentation for how to configure it.
attributesFromHeaders
I've configured everything according to the Using @vercel/otel page, and configured the OpenTelemetry dev environment.
My instrumentation.ts file:
export async function register() { registerOTel({ serviceName: "sample-service-name", attributes: { "app.environment": process.env.NEXT_PUBLIC_ENVIRONMENT, "app.test": "hello", }, attributesFromHeaders: { "app.referer": "referer", "app.host": "host", "app.accept": "accept", "app.method": "method", "http.referer": "referer", "http.host": "host", "http.accept": "accept", "http.method": "method", }, }); }
Looking at the collected trace in Zipkin, all the header attributes are missing:
Possible duplicate of #109
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
attributesFromHeaders
option does not seem to be working correctly, or it needs some more documentation for how to configure it.I've configured everything according to the Using @vercel/otel page, and configured the OpenTelemetry dev environment.
My instrumentation.ts file:
Looking at the collected trace in Zipkin, all the header attributes are missing:
Possible duplicate of #109
The text was updated successfully, but these errors were encountered: