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

CORS issue when using zipkin endpoint with opentelemetry-js #6

Closed
nagarajatantry opened this issue Apr 23, 2020 · 2 comments
Closed

Comments

@nagarajatantry
Copy link

Describe the Bug

I am experimenting with opentelemetry-js in the web with zipkin endpoint. It seems to send x-opentelemetry-outgoing-request in the header causing CORS issue.

Steps to Reproduce

@codefromthecrypt
Copy link
Member

I don't have access to transfer this to the https://github.com/open-telemetry/opentelemetry-js repo which is where it should go. We have no control over that library, nor the choices of headers it chooses to send. I have no idea what x-opentelemetry-outgoing-request is, but I doublt it is intended to send to zipkin: you should open an issue to ensure it isn't or there's a solid explanation of why.

That said, the primary problem I suspect is the incorrect, missing the "api" part http://localhost:9411/api/v2/spans

@vmarchaud
Copy link

I've opened an issue on our end to fix that open-telemetry/opentelemetry-js#983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants