skillfed

lumigo-tracer

Lumigo Tracer for Python v3.6 / 3.7 / 3.8 / 3.9 / 3.10 runtimes

lumigo-tracer v1.1.257 104.1K downloads/30d#12,767 on PyPI47
Permissive license Apache License 2.0 Active released

What it is and what it does

Lumigo-tracer is a Python agent that wraps AWS Lambda functions to automatically capture execution traces, HTTP requests, errors, and performance metrics, then sends them to Lumigo's observability platform. It supports three deployment modes: as a Lambda Layer (zero-code instrumentation), via the Serverless Framework plugin, or through manual decorator-based wrapping of your handler function.

The tracer collects distributed trace context, supports W3C TraceContext headers for cross-service tracing, and includes features like Step Functions tracking, secret masking via regex patterns, and domain scrubbing to prevent sensitive data leakage. Configuration is primarily environment-variable driven, making it suitable for infrastructure-as-code deployments. It depends on lumigo-core for its core functionality.

Use it for:

  • Instrument Lambda functions to trace HTTP calls and database queries across a microservices architecture without modifying application code.
  • Debug production Lambda failures by capturing full request/response payloads, errors, and execution context in a centralized platform.
  • Track Step Functions workflows as single transactions to visualize state transitions and identify bottlenecks across multi-step processes.
  • Mask sensitive data (passwords, API keys, credentials) in traces using configurable regex patterns to meet compliance requirements.
  • Monitor performance metrics and latency across Lambda invocations to identify cold starts and optimization opportunities.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Lumigo-tracer instruments Python Lambda functions to automatically collect distributed traces, metrics, and performance data, sending them to the Lumigo platform for observability and debugging.

Yes, if you run Python Lambda functions on AWS and need observability. The tracer is actively maintained, has low install friction, carries a permissive license, and integrates cleanly via decorator or Lambda Layer. Requires a Lumigo account and API token; evaluate whether the platform's pricing and feature set align with your observability needs before committing.

Install

lumigo-tracer on PyPI

pip

pip install lumigo-tracer

uv

uv add lumigo-tracer

poetry

poetry add lumigo-tracer

Installing lumigo-tracer

Before you install

Low install friction with a single runtime dependency (lumigo-core). Actively maintained with recent commits and releases; last release was 2025-06-26 and the repository shows ongoing activity.

License in practice

Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.

Quickstart

pip install lumigo_tracer

from lumigo_tracer import lumigo_tracer

@lumigo_tracer(token='YOUR-TOKEN-HERE')
def my_lambda(event, context):
    return 'traced'

Requires a Lumigo API token to send traces to the Lumigo platform; without it, the tracer will not transmit data.

Verify before relying

  • Whether lumigo-core has its own dependencies that could add install friction beyond what the wheel distribution suggests.
  • Performance overhead of the tracer on cold-start and warm-start Lambda execution times.
  • Compatibility with Python 3.6 and 3.7 support claims given those versions reached end-of-life.

Package facts

License Apache License 2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — lumigo-core
Maintenance actively maintained — 414 days since the last release
Last repo commit
First released
Downloads 104,114/month — #12,767 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: lumigo_tracer-1.1.257-py3-none-any.whl

Operating System :: OS IndependentProgramming Language :: Python :: 3

Tags

lambda function tracingdistributed tracing pythonaws lambda monitoringperformance observabilityserverless debugginglambda instrumentationapplication performance monitoring
aws-lambdadistributed-tracingobservability

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

lumigo-core

Provides core utilities and helpers for…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-ollama

Adds distributed tracing to Ollama Python…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-llamaindex

Adds distributed tracing to LlamaIndex…

permissive · top 5,000 on PyPI

traceloop-sdk

Traceloop SDK instruments LLM applications to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-aws-lambda

Instruments AWS Lambda functions to emit…

permissive · top 5,000 on PyPI

aliyun-trace

Manually creates traces for LLM applications…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-boto

Adds distributed tracing to AWS SDK (Boto)…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pymongo

Adds automatic tracing and observability…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-django

Adds distributed tracing to Django applications…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-starlette

Adds automatic tracing and observability…

permissive · top 5,000 on PyPI