Files
opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-aws-lambda
Riccardo Magliocchetti 37f85bf8cc instrumentation/aws-lambda: don't print warnings outside of AWS Lambda (#3183)
If we are not running inside AWS Lambda don't print warnings on missing
OTel lambda extension layer.
The instrumentation is installed by the OTel k8s operator and so this
warning may confuse users.
2025-01-21 13:57:53 +00:00
..

OpenTelemetry AWS Lambda Tracing
================================

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-aws-lambda.svg
   :target: https://pypi.org/project/opentelemetry-instrumentation-aws-lambda/

This library provides an Instrumentor used to trace requests made by the Lambda
functions on the AWS Lambda service.

It also provides scripts used by AWS Lambda Layers to automatically initialize
the OpenTelemetry SDK. Learn more on the AWS Distro for OpenTelemetry (ADOT)
`documentation for the Python Lambda Layer <https://aws-otel.github.io/docs/getting-started/lambda/lambda-python>`_.

Installation
------------

::

    pip install opentelemetry-instrumentation-aws-lambda


References
----------

* `OpenTelemetry AWS Lambda Tracing <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/aws_lambda/aws_lambda.html>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_
* `ADOT Python Lambda Layer Documentation <https://aws-otel.github.io/docs/getting-started/lambda/lambda-python>`_