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

Modeling language exceptions / crashes (e.g., stack traces) #667

Closed
anuraaga opened this issue Jun 24, 2020 · 2 comments
Closed

Modeling language exceptions / crashes (e.g., stack traces) #667

anuraaga opened this issue Jun 24, 2020 · 2 comments
Labels
area:error-reporting Related to error reporting

Comments

@anuraaga
Copy link
Contributor

I feel like this would be a common request but couldn't find it, please let me know if I missed it. Otherwise, made sure my title has enough SEO-ability as possible ;)

Any thoughts on modeling a language exception for a span? This would likely be added to Status, which is currently just code and description.

https://github.com/open-telemetry/opentelemetry-specification/blob/6f47d037b52a9892570a0b0964d6b12f5891a0a3/specification/trace/api.md#status

A stack trace in spans can be very useful, especially for being able to link back to source code from a span. Some vendors have it baked in.

https://cloud.google.com/trace/docs/reference/v2/rest/v2/StackTrace
https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-errors

Not as related, but I've written a proto to model a stacktrace before, admittedly mainly for Java, but it works well in being able to deserialize the exception in an RPC client

https://github.com/line/armeria/blob/master/grpc/src/main/proto/com/linecorp/armeria/grpc/internal_exception_messages.proto

@anuraaga
Copy link
Contributor Author

Found #427 sorry for the noise :)

@arminru arminru added the area:error-reporting Related to error reporting label Jun 24, 2020
@arminru
Copy link
Member

arminru commented Jun 24, 2020

@anuraaga Just for your reference, there are a couple more proposals around in addition to #427. You can find them linked on tracker issue #599.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:error-reporting Related to error reporting
Projects
None yet
Development

No branches or pull requests

2 participants