SigNoz supports multiple ways to monitor AWS Lambda. This page helps you choose the right approach for logs, traces, and metrics, then links to detailed setup guides.
Quick Decision Guide
| What you need | Recommended Method | Why |
|---|---|---|
| Logs (lower latency, no code changes) | OTel Collector Extension Layer | Telemetry API integration, lower latency than S3, no code changes |
| Logs (from existing S3 pipelines) | S3 Lambda Forwarder | Reuses existing S3 log storage, no changes to Lambda functions |
| Traces (auto-instrumentation) | OTel Lambda Layers | Language-specific layers capture traces without code changes |
| Metrics (manual, low cost) | CloudWatch Exporter | Scrapes CloudWatch metrics with minimal AWS cost |
| Logs & Metrics (fastest setup, Cloud only) | One-Click Integration | Auto-discovery, pre-built dashboards, ~5 minute setup |
Logs: OTel Extension vs S3
OTel Collector Extension Layer
The OTel Collector runs as a Lambda extension and registers with Lambda's Telemetry API to receive logs automatically. No function code changes required.
Benefits:
- ✅ No code changes to your Lambda function
- ✅ Direct integration via Lambda Telemetry API — no CloudWatch required
- ✅ Lower latency than S3 for high-traffic functions
- ✅ Minimal AWS cost (Lambda extension overhead only)
Trade-offs:
- ❌ Requires adding a Lambda layer and a collector config file
- ❌ Logs are buffered — sent at the start of the next invocation or during function shutdown, not immediately after each invocation. For short-lived or low-traffic functions, expect visible lag.
| Feature | Details |
|---|---|
| Setup | Add layer + config file |
| Code Changes | None |
| Latency | Next invocation or shutdown (buffered) |
| AWS Cost | Minimal (Lambda extension overhead only) |
| Best For | Most use cases |
→ Logs via OTel Extension Layer
S3 Forwarder
Lambda logs flow through CloudWatch Logs to an S3 bucket. A forwarder Lambda function is triggered on new objects and sends them to SigNoz. Use this when you already have a CloudWatch → S3 log archival pipeline.
Benefits:
- ✅ No code changes to your Lambda function
- ✅ Reuses existing S3 log storage and pipelines
- ✅ Decoupled from function execution — delivery failures don't affect your function
Trade-offs:
- ❌ Higher latency — delivery depends on CloudWatch → S3 export interval
- ❌ Additional AWS cost for S3 storage and forwarder Lambda invocations
- ❌ Requires setting up a separate forwarder Lambda function
| Feature | Details |
|---|---|
| Setup | Lambda function + S3 bucket |
| Code Changes | None |
| Latency | Delayed (depends on S3 sync) |
| AWS Cost | S3 storage + Lambda invocations |
| Best For | Existing S3 log pipelines |
Traces: OTel Auto-Instrumentation
Add language-specific OTel layers to your Lambda function to automatically capture traces without code changes.
Benefits:
- ✅ No code changes — instrumentation happens via Lambda layers
- ✅ Automatically captures invocation spans and outbound HTTP calls
- ✅ Forwards traces through a separate OTel Collector layer — function response time is not blocked
Trade-offs:
- ❌ Adds cold start latency from layer initialization
- ❌ Custom spans require manual instrumentation
- ❌ Trace-log correlation requires additional setup (OTel SDK logging in your function code)
Supported languages: Python, Node.js, Java, Ruby
Metrics: CloudWatch Exporter
Scrape Lambda metrics (Invocations, Errors, Duration, Throttles) from CloudWatch using the Prometheus CloudWatch Exporter.
Benefits:
- ✅ No changes to Lambda functions
- ✅ Covers standard Lambda metrics out of the box
- ✅ Minimal AWS cost — reads from CloudWatch, no additional data streams
Trade-offs:
- ❌ Polling-based — not real-time; metrics lag by the scrape interval
- ❌ Requires running a CloudWatch Exporter instance
One-Click vs Manual
| Feature | One-Click Integration | Manual Setup |
|---|---|---|
| Availability | SigNoz Cloud only | Cloud & Self-Hosted |
| Setup Time | ~5 minutes | 15-60 minutes |
| Pre-built Dashboards | ✅ Included | ❌ Build your own |
| Auto-Discovery | ✅ New resources detected | ❌ Manual configuration |
| AWS Cost | CloudWatch + Firehose charges | Minimal |
| Granular Control | Limited | Full control |
| Best For | Quick start, managed experience | Cost optimization, self-hosted |
See the full One-Click vs Manual comparison for details.
Combining Approaches
Many teams use a mix:
- One-Click for metrics and pre-built dashboards
- OTel Extension Layer for lower-latency logs
- OTel Auto-Instrumentation for distributed traces
All data flows into the same SigNoz instance and can be queried together.