Skip to content

Commit

Permalink
fix: require sidekiq middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
gsinkin-instrumentl committed Dec 9, 2022
1 parent 37571de commit bea7503
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/scout_apm/sampling.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require_relative "sampling/version"

require "scout_apm/sampling/railtie" if defined?(Rails::Railtie)
require "scout_apm/sampling/sidekiq/server_middleware" if defined?(::Sidekiq)
2 changes: 2 additions & 0 deletions lib/scout_apm/sampling/sidekiq/server_middleware.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require_relative "../callbacks"

module ScoutApm
module Sampling
module Sidekiq
Expand Down
2 changes: 1 addition & 1 deletion lib/scout_apm/sampling/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ScoutApm
module Sampling
VERSION = "3.0.1".freeze
VERSION = "3.0.2".freeze
end
end

0 comments on commit bea7503

Please sign in to comment.