Skip to content

Commit

Permalink
aws-sdk-lambda: require_relative
Browse files Browse the repository at this point in the history
have the chain and prepend module files relatively include the main
instrumentation file
  • Loading branch information
fallwith committed Nov 11, 2024
1 parent f15914e commit fb9c1e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/new_relic/agent/instrumentation/aws_sdk_lambda/chain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

require_relative 'instrumentation'

module NewRelic::Agent::Instrumentation
module AwsSdkLambda::Chain
def self.instrument!
Expand Down
2 changes: 2 additions & 0 deletions lib/new_relic/agent/instrumentation/aws_sdk_lambda/prepend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

require_relative 'instrumentation'

module NewRelic::Agent::Instrumentation
module AwsSdkLambda::Prepend
include NewRelic::Agent::Instrumentation::AwsSdkLambda
Expand Down

0 comments on commit fb9c1e7

Please sign in to comment.