Skip to content
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
10 changes: 3 additions & 7 deletions services/backend/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ group :development, :test do

gem 'rspec_junit_formatter'

# monitoring
gem 'bullet'
gem 'rack-mini-profiler', require: false
gem 'flamegraph'
gem 'stackprof'
gem 'memory_profiler'

gem 'webmock'
end

Expand Down Expand Up @@ -102,3 +95,6 @@ gem 'oj'

# Fix SCSS errors with Ruby 3 on MacOS
gem 'sassc', github: 'sass/sassc-ruby', group: :development

# monitoring
gem 'ddtrace', require: 'ddtrace/auto_instrument'
24 changes: 10 additions & 14 deletions services/backend/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ GEM
popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0)
builder (3.2.4)
bullet (7.0.1)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.11)
cancancan (3.3.0)
capybara (3.36.0)
addressable
Expand Down Expand Up @@ -176,6 +173,12 @@ GEM
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
ddtrace (1.4.1)
debase-ruby_core_source (= 0.10.16)
libdatadog (~> 0.7.0.1.1)
libddwaf (~> 1.3.0.2.0)
msgpack
debase-ruby_core_source (0.10.16)
devise (4.8.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
Expand Down Expand Up @@ -224,7 +227,6 @@ GEM
ffaker (2.20.0)
ffi (1.15.5)
fiber-local (1.0.0)
flamegraph (0.9.5)
flatpickr (4.6.6.0)
font_assets (0.1.14)
rack
Expand Down Expand Up @@ -292,6 +294,9 @@ GEM
addressable (~> 2.7)
letter_opener (1.7.0)
launchy (~> 2.2)
libdatadog (0.7.0.1.1)
libddwaf (1.3.0.2.0)
ffi (~> 1.0)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand All @@ -302,7 +307,6 @@ GEM
mini_mime (>= 0.1.1)
marcel (1.0.2)
matrix (0.4.2)
memory_profiler (1.0.0)
method_source (1.0.0)
mini_magick (4.11.0)
mini_mime (1.1.2)
Expand Down Expand Up @@ -352,8 +356,6 @@ GEM
rack (>= 0.4)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-mini-profiler (2.3.3)
rack (>= 1.2.0)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rack-timeout (0.6.0)
Expand Down Expand Up @@ -609,7 +611,6 @@ GEM
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
stackprof (0.2.17)
state_machines (0.5.0)
state_machines-activemodel (0.8.0)
activemodel (>= 5.1)
Expand All @@ -635,7 +636,6 @@ GEM
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (2.1.0)
uniform_notifier (1.14.2)
validates_zipcode (0.5.0)
activemodel (>= 4.2.0)
vcr (6.0.0)
Expand Down Expand Up @@ -669,20 +669,17 @@ DEPENDENCIES
awesome_print
aws-sdk-s3
bootsnap
bullet
dalli
ddtrace
dotenv-rails (~> 2.1, >= 2.1.1)
flamegraph
font_assets
letter_opener
listen
memory_profiler
oj
pg
puma
rack-cache
rack-cors
rack-mini-profiler
rack-timeout
rails (~> 6.1.4)
remote_syslog_logger
Expand All @@ -702,7 +699,6 @@ DEPENDENCIES
spree_i18n (>= 5.0)
spree_sample (>= 4.4.0)
spring
stackprof
terser
vcr
web-console (~> 4.0)
Expand Down
5 changes: 5 additions & 0 deletions services/backend/config/initializers/datadog-tracer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Datadog.configure do |c|
c.env = ENV['DD_ENV'] || 'development'
c.service = ENV['DD_SERVICE'] || 'store-backend'
c.tracing.sampling.default_rate = 1.0
end
8 changes: 0 additions & 8 deletions services/backend/config/initializers/rack_profiler.rb

This file was deleted.

Loading