Lumigo

Execution Tags

Add a Tag to your functions' executions to find them faster

Overview

Execution tags allow you to find and investigate executions more quickly in the Lumigo dashboard. Simply add a tag to your Lambda functions’ execution. This will allow you to easily find a specific execution on the Explore page.

Example

The image below shows the invocation list with execution tags present

Configuring execution tags

To configure execution tags, follow these simple steps:

  1. From the command line, install the lumigo tracer
pip install lumigo_tracer
npm install @lumigo/tracer --save
  1. Add an execution tag to your handler’s code
from lumigo_tracer import add_execution_tag

add_execution_tag(“user_id”,user_id)
const lumigo = require('@lumigo/tracer');

OR if you are using Manual Tracing:
const lumigo = require('@lumigo/tracer')({ token: '<your_lumigo_token>' });

lumigo.addExecutionTag('<key>', '<value>');

And that’s it! Your execution tags will now appear in the invocation list.

Updated 19 days ago


Execution Tags


Add a Tag to your functions' executions to find them faster

Suggested Edits are limited on API Reference Pages

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