Add version to sentry events
requested to merge 35183-sentry-js-differentiate-between-release-and-the-revision-attributes into master
What does this MR do and why?
This change publishes the current version of GitLab along with events sent to Sentry.
Currently both revision and release show the same sha information, this change removes the duplication and sets release as the proper version of Sentry.
The legacy integration of Sentry that still currently enabled by default is not affected, so no changelog is added.
Screenshots or screen recordings
We can see the version is added to the gon
object for logged in users:
How to set up and validate locally
There is no easy way to validate locally, I trust our tests already cover this change correctly.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #35183 (closed)
Edited by Miguel Rincon