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

Ability to call "before-breadcrumb" #184

Closed
MichalBryxi opened this issue Mar 2, 2019 · 1 comment
Closed

Ability to call "before-breadcrumb" #184

MichalBryxi opened this issue Mar 2, 2019 · 1 comment

Comments

@MichalBryxi
Copy link

MichalBryxi commented Mar 2, 2019

In my app all the ui.click breadcrumb look like div.eight.wide.column > a#ember3796.ui.labeled.icon.button.ember-view, which is not very helpful.

But (for example) I do use a lot of data-test helpers, which would have much more meaning for me when going through the sentry trace. They tend to be way more descriptive of the function of that visual component.

There is a possibility to change the breadcrumb on sentry report via before-breadcrumb hook. From the docs of ember-cli-sentry, I don't think it's easily accessible?

Would it be possible to:

  1. Add option to call before-breadcrumb hook using ember-cli-sentry.
  2. Add a documentation to readme on how-to do that?

Thanks

@Turbo87
Copy link
Collaborator

Turbo87 commented Mar 3, 2019

beforeBreadcrump is an API of @sentry/browser, but not of raven-js, which we are currently using. see #133 for more information about that.

@Turbo87 Turbo87 closed this as completed Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants