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

Change Sentry error reporting plug-in #193

Merged
merged 3 commits into from
Sep 28, 2023

Conversation

kysrpex
Copy link

@kysrpex kysrpex commented Sep 28, 2023

This is a backport of galaxyproject#16686.

@bgruening What do you think about backporting galaxyproject#16686 to usegalaxy-eu/galaxy right now as well? It can take still two releases for it to flow from dev to 23.2, yet we can just have it in our fork and benefit from it immediately, and the commits (with the same hashes) will just be there when it officially flows downstream.

- Use the tool's name (tool id without version) as issue title. This should merge reports for all versions of a tool. Report any other extra information in the contexts.

- Submit Galaxy Job error reports with level "error" rather than "info".

- Do not include the user's email in the "job" context. It is redundant because it was already being included in the "user" context.

- Move the user's feedback message to a new "feedback" context.

- Report the user's information as actual Sentry user information rather than a "user" context.

- Change existing tags. Use "tool" for `job.tool_id`, `tool.name` for the tool's name (tool id without version) and `tool.version` for the tool's version.

- Add a tag informing of whether the user provided feedback or not so that intentional bug reports can be quickly found.
The request context's "url" field is filled with the text "*deprecated attribute, URL not filled in by server*".
@kysrpex kysrpex added enhancement New feature or request backport something to backport labels Sep 28, 2023
@kysrpex kysrpex self-assigned this Sep 28, 2023
@kysrpex kysrpex changed the title Change Sentry error reporting plug-in (backport) Change Sentry error reporting plug-in Sep 28, 2023
@bgruening
Copy link
Member

I'm fine with it! It will improve our tool error reports significantly :)

Feel free to merge and babysit the deployment.

@kysrpex kysrpex merged commit 4988053 into usegalaxy-eu:release_23.1_europe Sep 28, 2023
@kysrpex kysrpex deleted the sentry branch September 28, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport something to backport enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants