Deployment Integrations
On-premise Integrations
Platform Integrations

Tag Support

With Thundra's Go agent, you can add custom tags to your invocations or your applications which will let you eventually better filter the data. Invocation tags are added only to Invocation data type, application tags are global and they are automatically added to Invocation, Metric, Trace, Span, and Log data.

Adding Invocation Tags

The following code snippet shows how to add tags to the invocation.

package main
import (
// Your main lambda handler
func handler(ctx context.Context, userID string) (string, error) {
invocation.SetTag("userID", userID)
invocation.SetError(errors.New("custom error"))
return "Hello ƛ!", nil
func main() {
// Wrap your lambda handler with Thundra

Adding Application Tags

You can add application tags via environment variables. All application tags which start with thundra_agent_lambda_application_tag_ are parsed by Thundra's Go agent and the part after thundra_agent_lambda_application_tag_ prefix is used as the key of the tag and the value of the environment variable becomes the value of the tag. For example, thundra_agent_lambda_application_tag_floatField with value 12.123 will add an application tag to all data with key floatField and value 12.123.

Below example shows how to add application tags with various data types to a Lambda invocation.