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

1537 add bugsnag #1540

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem 'blacklight', '~> 7.14'
gem 'blacklight_oai_provider', github: 'projectblacklight/blacklight_oai_provider', ref: '428da77'
gem 'bootsnap', '>= 1.4.2', require: false
gem 'browser'
gem 'bugsnag', '~> 6.26'
gem 'cocoon'
gem 'devise'
gem 'diffy'
Expand Down Expand Up @@ -62,6 +63,7 @@ group :development, :test do
gem 'database_cleaner'
gem 'factory_bot_rails'
gem 'faker'
gem 'html_tokenizer', '~> 0.0.8'
gem 'niftany', '~> 0.10'
gem 'pry-byebug'
gem 'pry-rails'
Expand Down Expand Up @@ -100,7 +102,6 @@ group :test do
end

group :production do
gem 'ddtrace', '~> 0.34'
gem 'lograge', '~> 0.11'
gem 'lograge-sql', '~> 1.1'
end
9 changes: 5 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ GEM
bootsnap (1.13.0)
msgpack (~> 1.2)
browser (4.2.0)
bugsnag (6.27.1)
concurrent-ruby (~> 1.0)
builder (3.2.4)
byebug (11.1.3)
capybara (3.39.2)
Expand All @@ -149,8 +151,6 @@ GEM
crass (1.0.6)
database_cleaner (1.8.5)
date (3.3.4)
ddtrace (0.38.0)
msgpack
debug_inspector (1.1.0)
deprecation (1.1.0)
activesupport
Expand Down Expand Up @@ -228,7 +228,7 @@ GEM
concurrent-ruby (~> 1.0)
hashdiff (1.0.1)
hashie (5.0.0)
html_tokenizer (0.0.7)
html_tokenizer (0.0.8)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
Expand Down Expand Up @@ -601,11 +601,11 @@ DEPENDENCIES
blacklight_oai_provider!
bootsnap (>= 1.4.2)
browser
bugsnag (~> 6.26)
byebug
capybara
cocoon
database_cleaner
ddtrace (~> 0.34)
devise
diffy
edtf
Expand All @@ -617,6 +617,7 @@ DEPENDENCIES
flamegraph
flog
graphql (~> 1.12)
html_tokenizer (~> 0.0.8)
image_processing
jbuilder (~> 2.7)
jquery-rails
Expand Down
6 changes: 6 additions & 0 deletions config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

Bugsnag.configure do |config|
config.app_version = ENV.fetch('APP_VERSION', nil)
config.release_stage = ENV.fetch('BUGSNAG_RELEASE_STAGE', 'development')
end
13 changes: 0 additions & 13 deletions config/initializers/datadog.rb

This file was deleted.