Metadata-Version: 2.4
Name: lambda-otel-logging
Version: 1.0.1
Summary: Python logging formatter that looks like OpenTelemetry logs
Author-email: Bram Neijt <bram@neijt.nl>
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: msgspec>=0.17.0
Requires-Dist: opentelemetry-sdk>=1.20.0
Description-Content-Type: text/markdown

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](https://github.com/aws-observability/aws-otel-lambda/issues/1121).

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.
