Skip to main content

Python logging formatter that looks like OpenTelemetry logs

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lambda_otel_logging-1.0.1.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lambda_otel_logging-1.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file lambda_otel_logging-1.0.1.tar.gz.

File metadata

  • Download URL: lambda_otel_logging-1.0.1.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.17

File hashes

Hashes for lambda_otel_logging-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c9755d74abfc97c83a7c5eab83334b45622fabb47a1d9a2f89b19748b139adb6
MD5 77228ac5b63e51d445f143c2a0254f77
BLAKE2b-256 42f2bd76bf9ebbb11f930ef785b1d413631bf64b69691e47e59c5537a65f12fc

See more details on using hashes here.

File details

Details for the file lambda_otel_logging-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lambda_otel_logging-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d89678368aa7afa36d5fa6edb053966d8b93f9651e78b089d5a875bd73aa8da8
MD5 7f57d34ddcc7defdc883845dc77e52a5
BLAKE2b-256 8718562fa16bcfd21409f614609496751017c801f24d62583b2b7c04667eba38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page