chore: Load only required APMs (#6497)

- Disable requiring the gems for all the APMs 
- Switch to selectively requiring them.
This commit is contained in:
Sojan Jose
2023-03-01 14:31:51 +05:30
committed by GitHub
parent 4c921d3d0e
commit c9c3ac4b44
5 changed files with 38 additions and 10 deletions

View File

@@ -1,4 +1,6 @@
require 'rails_helper'
# explicitly requiring since we are loading apms conditionally in application.rb
require 'sentry-ruby'
describe ChatwootExceptionTracker do
it 'use rails logger if no tracker is configured' do