Home / Companies / Honeycomb / Blog / Post Details
Content Deep Dive

Running the OpenTelemetry Collector as a Lambda

Blog post from Honeycomb

Post Details
Company
Date Published
Author
Jessica Kerr (Jessitron)
Word Count
2,603
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

Deploying the OpenTelemetry Collector as an AWS Lambda function can be a viable solution for environments with infrequent telemetry needs, using a Lambda container image and Function URL to handle OTLP/HTTP requests. This setup is cost-effective for low traffic, with cold starts taking about 4 seconds and warm invocations 2–4 ms, but it is unsuitable for high-throughput scenarios due to Lambda's overhead and limitations on retry capabilities. The architecture involves packaging the collector with AWS Lambda Web Adapter to facilitate invocation handling, and it's essential to configure the system to be stateless per request, ensuring no batch processor or sending queue is enabled, as these can hold spans in memory and cause data loss during Lambda freezes. Authentication can be managed using bearer tokens to secure the publicly accessible Function URL, though AWS IAM authentication is not feasible due to the lack of Sigv4 support in OpenTelemetry SDKs. Deployment requires creating an ECR repository and a Lambda execution role, and verification involves checking proper request handling and data delivery to the backend, with troubleshooting focusing on common pitfalls like permission issues and configuration errors.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 63 1,008 229 94 -44%
OpenTelemetry 19 967 177 57 +2%
AI Coding Assistant 1 2,151 535 165 +20%
Kubernetes 1 2,148 318 105 +9%
MCP 1 7,550 833 207 +6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.