lumigo-tracer
Lumigo Tracer for Python v3.6 / 3.7 / 3.8 / 3.9 / 3.10 runtimes
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-traceruv
uv add lumigo-tracerpoetry
poetry add lumigo-tracerInstalling 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
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
lumigo-coreProvides core utilities and helpers for…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-ollamaAdds distributed tracing to Ollama Python…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-llamaindexAdds distributed tracing to LlamaIndex…
permissive · top 5,000 on PyPI
traceloop-sdkTraceloop SDK instruments LLM applications to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-aws-lambdaInstruments AWS Lambda functions to emit…
permissive · top 5,000 on PyPI
aliyun-traceManually creates traces for LLM applications…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-botoAdds distributed tracing to AWS SDK (Boto)…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pymongoAdds automatic tracing and observability…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-djangoAdds distributed tracing to Django applications…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-starletteAdds automatic tracing and observability…
permissive · top 5,000 on PyPI