exceptionless / Exceptionless.JavaScript

Exceptionless JavaScript client
http://exceptionless.com
Apache License 2.0
59 stars 24 forks source link

Breadcrumbs #78

Closed matthew-churcher closed 1 year ago

matthew-churcher commented 6 years ago

Would it be possible to have breadcrumbs? The concept of breadcrumbs is rather than shipping log messages constantly incase some thing happens. Instead logs messages are buffered and the last X are sent along with the error.

matthew-churcher commented 6 years ago

Ah the .net SDK has this. Under the name tracing. It can be enabled in the config. Can we do this in JavaScript?

niemyjski commented 6 years ago

Yes, you could do this by writing a plugin that attaches a list of breadcrumbs to the events extended data. You could write a plugin that's like our deduper and it just stores the log messages until an error comes through and then it rolls up or submits all of those log messages. Would this work?

Personally, I would like to see tracing go away completely in .net and I'd rewrite it to just submit log messages. We get asked a lot of questions about searching it and how it works. It's confusing as users think it will just be submitted in one batch on a new event automatically instead of being attached to every submitted event.

niemyjski commented 1 year ago

I'm going to close this because I feel like the best way to accomplish this is still through a custom plugin. Please upvote or comment if reading this if there is something more you think this project could do around this.