Skip to content
New issue

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

Intercept tracing request (OTLPTraceExporter, WebAutoInstrumenation, Browser) #4579

Open
1 of 2 tasks
krechtern opened this issue Mar 25, 2024 · 0 comments
Open
1 of 2 tasks

Comments

@krechtern
Copy link

krechtern commented Mar 25, 2024

Hey,

I'm using the OTLPTraceExporter with @opentelemetry/auto-instrumentations-web in an Angular project (if this matters). Our tracing endpoint requires an Auth-Token and I can't figure out how to intercept the requests made from this library. Is there an official way to add an interception here?

I'm aware that I can provide custom headers when creating the OTLPTraceExporter, but my token will be renewed over time, so I need an interception solution for this.

  • This only affects the JavaScript OpenTelemetry library
  • This may affect other libraries, but I would like to get opinions here first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant