Thundra: Serverless Observability for AWS Lambda

The black box nature of AWS Lambda and other serverless environments means that identifying and fixing performance issues is difficult and time-consuming. Built for straightforward debugging, monitoring, and observability, Thundra provides deep insight into your entire serverless environment. Thundra collects and correlates all your metrics, logs, and traces, allowing you to quickly identify problematic invocations and also analyzes external services associated with that function. With Thundra’s zero overhead and automated instrumentation capabilities, your developers are free to write code without worrying about bulking up their Lambdas or wasting time on chasing black box problems.

Get Started    Discussions

Metric Support

Thundra Python Metrics

Metric support provides essential information regarding the performance of your Python lambda functions, which translate to carefully calculated stats. It lets you examine:

  • Memory metrics
  • CPU metrics
  • GC counts
  • Thread count

Detailed information of these statistics can be found here.

Configuring Metrics

By simply importing Thundra from thundra.thundra_agent, all metrics mentioned above are collected and are presented to you within the Thundra Console. However, you can either disable or enable metric monitoring by Thundra. By default, metric monitoring is enabled but can be disabled by setting the relevant configuration parameters to true. These parameters include the thundra_agent_lambda_metric_disable environment variable and the disableMetric object initialization parameter. Details on how to do so can be found here.

thundra = Thundra(api_key=’my_api_key’, disable_metric=True)
thundra_apiKey: ${self:custom.thundraApiKey}
thundra_agent_lambda_metric_disable: true

Viewing Metrics

Data provided by Thundra’s Metric support can be viewed by navigating to the Functions Page using the left sidebar menu of the Thundra Console. You will be then presented a list with all the functions sending data to TWC.

Clicking on a function will show you the graphical representation of all the metric support information relating to the function.

Metric Support

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.