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 Node.js Metrics

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

  • Invocation Counts
  • Invocation Durations
  • Memory Usages
  • Process Memory Usages
  • CPU Percentages
  • Disk IO
  • Thread Count

Detailed information of these statistics can be found here.

Configuring Metrics

The set of metric data mentioned above that is collected is done by requesting the thundra/core module. This also allows you to disable or enable collection of metric data as is required. This is done by the thundra_agent_lambda_metric_disable environment variable or by the disableMetric module initialization parameter. By default, metrics are enabled, and no configuration is required after requiring thundra/core, but either of these configurations can be set to false. Details on how to do so can be found here.

const thundra = require("@thundra/core")({ 
  apiKey: "MY_APIKEY",
  disableMetric: 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.