Auto-tracing adds the Lumigo tracer to your Lambda functions automatically. By using the Lumigo lambda layer, which sits between your code and the AWS Lambda runtime, your code will continue to function as-is without any modification.
Supported Runtimes
Auto-tracing is supported in the following runtimes:
- Python - 3.6 and above
- NodeJS - 10.x and above
Auto-tracing will not be available if your runtime is not supported, but you can still receive the same benefits of Lumigo through manually instrumenting your functions.
Adding Auto-Tracing with AWS Tags
The fastest way of auto-tracing your functions is by flagging them using AWS Tags. To do so:
- Open the configuration for your AWS Tags
- Create the tag
lumigo:auto-trace
and set the value totrue
- Apply the tag to your Lambda function
- Wait 15-20 minutes for the changes to propagate.
Lumigo will now automatically report statistics on your Lambda function!
Adding Auto-Tracing with the Lumigo UI
You can easily add auto-tracing to any supported function runtime from your Lumigo Dashboard:
- Open the “Functions” screen in your Lumigo dashboard
- Select the functions you wish to trace
- In the Actions drop down menu, select “auto-trace”
- Press the “Apply” button


Removing Auto-Tracing with AWS Tags
Removing auto-tracing with Tags is as straightforward as adding the tags to your function.
- Open your tag configuration in the AWS Dashboard
- Remove the tag from your auto-instrumented Lambda function
- Wait 15-20 minutes for changes to propagate
Lumigo will automatically stop reporting statistics on the function.
Quick tip!
You can also set the tag value of
lumigo:auto-trace
tofalse
to disable all Lumigo auto-tracing activity from AWS Tagging.
Removing Auto-Tracing with the Lumigo UI
Removing auto-tracing uses the same steps as adding tracing to a function, but with a different action:
- Open the “Functions” screen in your Lumigo dashboard
- Select the functions you wish to remove instrumentation from
- In the Actions drop down menu, select “un-trace”
- Press the “Apply” button
Advanced Settings
The advanced settings are available in Settings > Monitoring & Tracing. Use these when working with advanced configurations, such as when incorporating a pinned tracer version or using advanced print settings.
You may disregard this message if you see it. This message is shown due to a known issue with the AWS console.
Updated 4 months ago