Open
Description
Right now, when stack trace is requested (via an annotation on a level enabler or via an explicit field) it is simply formatted into a largish string and treated like a simple string field. However, stack traces these days can be subject to analysis by automatic tooling and otherwise manipulated.
I think it will be beneficial to:
- Make
stacktrace.Stack
object publicly visible - Modify the explicit
Stack
field to carry that object and not a string - Provide a dedicated exporter method to handle the
stacktrace.Stack
object. The default encoder can keep using the default formatter, whereupon user provided encoder can do something more advanced
To my opinion, implementing this improvement is easy and seamless for most users. It will also allow for much safer processing of stacks in the log analysis systems as users will have the choice to supply their own encoders which can encode stack traces in analysis friendly way.
Metadata
Metadata
Assignees
Labels
No labels