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

Installation and Configuration

In this section, learn how to use Thundra for detailed tracing, metrics, and logs.


Use go get to install Thundra:

go get -u -d

Start using Thundra

All you have to do is wrap your lambda handler with thundra.Wrap:

package main

import (

// Your lambda handler
func handler() (string, error) {
	return "Hello, Thundra!", nil

func main() {
	// Wrap your lambda handler with Thundra

Then, just build and deploy your executable to AWS as regular. In order to see your invocations in Thundra web console make sure that you have set thundra_apiKey environment variable with your Thundra generated API key. You can set the environment variables through AWS Lambda console, in your serverless.yml file or the using the other method of your choice. Later on, we will examine the other environment variables that you can use to configure Thundra in more detail.

thundra_apiKey: your_api_key

After you have set the environment variables and invoked your function, you can now use Thundra web console to see the details of your invocation.

That was a quick introduction on how to integrate Thundra Go agent with your function. Refer Trace Support, Log Support and Metric Support sections to learn more about advance tracing capabilities of Thundra.


Configuring your Lambda functions allows you to control what information you would like to monitor and how you would like to monitor it. Thundra for Go functions can be configured using environment variables.

A detailed list of configuration variables can be found here.

Installation and Configuration

In this section, learn how to use Thundra for detailed tracing, metrics, and logs.

Suggested Edits are limited on API Reference Pages

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