Module: Skylight::Probes::Lambda::Runner::Instrumentation Private

Includes:
Common
Defined in:
lib/skylight/probes/lambda.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#run_user_code(request) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



34
35
36
37
38
# File 'lib/skylight/probes/lambda.rb', line 34

def run_user_code(request)
  Skylight.trace(sk_lambda_function_name, "other", "lambda handler") { super }
ensure
  Skylight.instrumenter&.native_flush
end