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

Errors not properly send to zipkin #40

Closed
Landerstraeten opened this issue Mar 21, 2019 · 4 comments
Closed

Errors not properly send to zipkin #40

Landerstraeten opened this issue Mar 21, 2019 · 4 comments

Comments

@Landerstraeten
Copy link
Contributor

Errors not properly send to zipkin due to a bad request http call.
The error tag must be set to a string with value "true" not the HTTP status code.

@jcchavezs
Copy link
Owner

@UrGuardian4ngel
Copy link

I can confirm this is also an issue for us.

Because I have a similar issue in my project?
Normal tracing works, but requests with exceptions ('error' traces) get dropped, due to a 400 on our tracing collector.

Tried it via CURL as well (manually).

  • with "error": 500 in the payload, I get a 400 from our collector
  • with "error": "500" it's a 202.

But OpenTracing docs say, it should be 'true', and not the response status code.
There is http.status_code for that... 😉

Tested #41 patch in that project, and now exceptions are also traced... 👌
So it seems to do the trick for us?

@jcchavezs
Copy link
Owner

with "error": "500" it's a 202.

In zipkin tags are supposed to be string always. This PR fixes this: #43

@jcchavezs
Copy link
Owner

jcchavezs commented Mar 23, 2019 via email

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

Successfully merging a pull request may close this issue.

3 participants