Skip to content

Draft: Use new gem for sentry messages

Can Eldem requested to merge use-sentry-ruby into master

What does this MR do?

We need to migrate new sentry SDK. Raven gem put into maintanence mode

https://github.com/getsentry/sentry-ruby

Migration Guide

https://docs.sentry.io/platforms/ruby/migration/

How to test

Go do gitlab gitlab.yml and add

  sentry:
    enabled: true
    dsn: <your key>
    environment: 'gstg' # e.g. development, staging, production

Go to console

Sentry.configuration.trusted_proxies = []
err = StandartError.new('aa')
Gitlab::ErrorTracking.track_exception(err)

For gitlab-com/gl-infra/scalability#849.

Edited by Can Eldem

Merge request reports

Loading