pass the canvas release to sentry
closes CNVS-26745 We were already passing it as a tag, but sentry now has a native release field that provides additional functionality, so pass it there as well. We'll keep the tag because it's still nice for searching. Change-Id: I5447ecabf3cc7246ebc36abd05829320d8d449a7 Reviewed-on: https://gerrit.instructure.com/70889 Reviewed-by: Simon Williams <simon@instructure.com> Tested-by: Jenkins Product-Review: Brian Palmer <brianp@instructure.com> QA-Review: Brian Palmer <brianp@instructure.com>
This commit is contained in:
parent
b3fa0c35ae
commit
38e69d175c
|
@ -98,7 +98,7 @@ gem 'useragent', '0.10.0', require: false
|
|||
|
||||
gem 'crocodoc-ruby', '0.0.1', require: false
|
||||
gem 'hey', '1.3.0', require: false
|
||||
gem 'sentry-raven', '0.13.2', require: false
|
||||
gem 'sentry-raven', '0.15.3', require: false
|
||||
gem 'canvas_statsd', '1.0.3'
|
||||
gem 'diplomat', '0.14.0', require: false
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ if settings.present?
|
|||
config.silence_ready = true
|
||||
config.dsn = settings[:dsn]
|
||||
config.tags = settings.fetch(:tags, {}).merge('canvas_revision' => Canvas.revision)
|
||||
config.release = Canvas.revision
|
||||
config.sanitize_fields += Rails.application.config.filter_parameters.map(&:to_s)
|
||||
config.sanitize_credit_cards = false
|
||||
config.excluded_exceptions += %w{
|
||||
|
|
Loading…
Reference in New Issue