Module: NewRelic::Agent::Instrumentation::AwsSdkLambda
- Included in:
- AwsSdkLambda::Prepend
- Defined in:
- lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb
Defined Under Namespace
Modules: Chain, Prepend
Classes: WRAPPED_RESPONSE
Constant Summary
collapse
- INSTRUMENTATION_NAME =
'aws_sdk_lambda'
- AWS_SERVICE =
'lambda'
- CLOUD_PLATFORM =
'aws_lambda'
Instance Method Summary
collapse
Instance Method Details
#invoke_async_with_new_relic(*args) ⇒ Object
18
19
20
|
# File 'lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb', line 18
def invoke_async_with_new_relic(*args)
with_tracing(:invoke_async, *args) { yield }
end
|
#invoke_with_new_relic(*args) ⇒ Object
14
15
16
|
# File 'lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb', line 14
def invoke_with_new_relic(*args)
with_tracing(:invoke, *args) { yield }
end
|
#invoke_with_response_stream_with_new_relic(*args) ⇒ Object
22
23
24
|
# File 'lib/new_relic/agent/instrumentation/aws_sdk_lambda/instrumentation.rb', line 22
def invoke_with_response_stream_with_new_relic(*args)
with_tracing(:invoke_with_response_stream, *args) { yield }
end
|