IBM / report-toolkit

A toolkit for consumers of Node.js diagnostic Reports
https://ibm.github.io/report-toolkit
Other
84 stars 10 forks source link

hash stacktraces #2

Closed boneskull closed 5 years ago

boneskull commented 5 years ago

one use case for gnostic is post-mortem debugging. when analyzing stacktraces from a crashed process, it's useful to know if a particular exception thrown is unique. we can determine the uniqueness of any given traceback by removing variable information and distilling to the list of lines in the stack itself, then taking a hash of the result.

provide a command which accepts a report and outputs a hash of the stack trace.

Ref: https://github.com/hekike/node-report-analytics

boneskull commented 5 years ago

May require a new package

boneskull commented 5 years ago

I think this can be done as a transformer.