You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In this example we are using the middleware pattern but you could use also the captureLambdaHandler decorator
10
+
// In this example we are using the Middy middleware pattern but you can instrument your functions also with the captureLambdaHandler decorator & manual instrumentation
// process.env.POWERTOOLS_TRACE_ENABLED = 'false'; // Alternative to disabling tracing in the constructor
6
+
// Disable Tracer by setting POWERTOOLS_TRACE_ENABLED = 'false' in the function environment variables - https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
// Alternatively, you can also set the service name using the POWERTOOLS_SERVICE_NAME environment variable
8
+
// Learn more at: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
8
9
9
-
// We instrument the handler with the middy middleware and the tracer will automatically create a subsegment and capture relevant annotations and metadata
0 commit comments