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

Breadcrumbs #78

Open
matthew-churcher opened this issue Nov 9, 2017 · 2 comments
Open

Breadcrumbs #78

matthew-churcher opened this issue Nov 9, 2017 · 2 comments

Comments

@matthew-churcher
Copy link

@matthew-churcher matthew-churcher commented Nov 9, 2017

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
Copy link
Author

@matthew-churcher matthew-churcher commented Nov 9, 2017

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

@niemyjski
Copy link
Member

@niemyjski niemyjski commented Nov 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.