-
Notifications
You must be signed in to change notification settings - Fork 39
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
Logging warn and error when using open tracing #238
Comments
Hey @steveww! The Go sensor does not support logging spans yet, but there is an option to log an error with |
Thanks for the reply. |
Apologies for confusion, I just checked the code and while this should be enough to mark the span as erroneous, but the error message needs to go to span tags to be displayed in UI. There is no common tag that would work uniformly for all kind of spans, but if you could share the span types you're using, I can provide corresponding error tags for them. |
I have an intermediate span that validates some data. I'd like to log an error if the validation fails. |
I'm using the go sensor with open tracing. Everything works OK apart from logging an error.
What are the magic tags I need to set to generate a log message so that it shows up under the service log messages?
The text was updated successfully, but these errors were encountered: