Skip to main content

AWS Lambda OpenTelemetry Logging

Simple log formatter to get Otel log records on stdout in an AWS lambda.

Trying to use a collector in AWS lambda runtime is stupid and doing so for logging will lead to issues.

So the goal is simple:

  • Write stuff that looks like OpenTelemetry, but uses AWS native services instead.

If you want a full collectorless and performant solution, probably look at https://github.com/dev7a/serverless-otlp-forwarder but if you just want to look like otel for log alerting, you can use this logging formatter.

Metadata

Release files for lambda-otel-logging 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lambda-otel-logging 1.0.1
File Size Uploaded Provenance
lambda_otel_logging-1.0.1.tar.gz 30.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lambda-otel-logging 1.0.1
File Interpreter ABI Platform
lambda_otel_logging-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.9 kB

Release files / lambda_otel_logging-1.0.1.tar.gz

Download URL lambda_otel_logging-1.0.1.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c9755d74abfc97c83a7c5eab83334b45622fabb47a1d9a2f89b19748b139adb6
BLAKE2b-256 checksum
How to use checksums
42f2bd76bf9ebbb11f930ef785b1d413631bf64b69691e47e59c5537a65f12fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.17

Release files / lambda_otel_logging-1.0.1-py3-none-any.whl

Download URL lambda_otel_logging-1.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d89678368aa7afa36d5fa6edb053966d8b93f9651e78b089d5a875bd73aa8da8
BLAKE2b-256 checksum
How to use checksums
8718562fa16bcfd21409f614609496751017c801f24d62583b2b7c04667eba38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.17

Security for lambda-otel-logging 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page