A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/open-telemetry/opentelemetry-lambda below:

open-telemetry/opentelemetry-lambda: Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lambda Function to get tracing with OpenTelemetry.

OpenTelemetry Lambda Layers

The OpenTelemetry Lambda Layers provide the OpenTelemetry (OTel) code to export telemetry asynchronously from AWS Lambda functions. It does this by embedding a stripped-down version of OpenTelemetry Collector Contrib inside an AWS Lambda Extension Layer. This allows Lambda functions to use OpenTelemetry to send traces and metrics to any configured backend.

There are 2 types of lambda layers

  1. Collector Layer - Embeds a stripped down version of the OpenTelemetry Collector
  2. Language Specific Layer - Includes language specific nuances to allow lambda functions to automatically consume context from upstream callers, create spans, and automatically instrument the AWS SDK

These 2 layers are meant to be used in conjunction to instrument your lambda functions. The reason that the collector is not embedded in specific language layers is to give users flexibility

Extension Layer Language Support Additional language tooling not currently supported

To get a better understanding of the proposed design for the OpenTelemetry Lambda extension, you can see the Design Proposal here.

The following is a list of features provided by the OpenTelemetry layers.

The layer includes the OpenTelemetry Collector as a Lambda extension.

Custom context propagation carrier extraction

Context can be propagated through various mechanisms (e.g. http headers (APIGW), message attributes (SQS), ...). In some cases, it may be required to pass a custom context propagation extractor in Lambda through configuration, this feature allows this through Lambda instrumentation configuration.

This links a context extracted from the Lambda runtime environment to the instrumentation-generated span rather than disabling that context extraction entirely.

The Lambda language implementation follows the semantic conventions specified in the OpenTelemetry Specification.

The Lambda layer includes support for automatically instrumentation code via the use of instrumentation libraries.

The Lambda instrumentation will flush the TracerProvider at the end of an invocation.

The Lambda instrumentation will flush the MeterProvider at the end of an invocation.

The table below captures the state of various features and their levels of support different runtimes.

Feature Node Python Java .NET Go Ruby OpenTelemetry collector + + + + + + Custom context propagation + - - - N/A + X-Ray Env Var Span Link - - - - N/A - Semantic Conventions^ + + + N/A + - Trace General^1 + + + N/A + - Trace Incoming^2 - - + N/A - - Trace Outgoing^3 + - + N/A + - Metrics^4 - - - N/A - Auto instrumentation + + + - N/A + Flush TracerProvider + + + + + Flush MeterProvider + + -

The following are runtimes which are no longer or not yet supported by this repository:

See the Contributing Guide for details.

For more information about the maintainer role, see the community repository.

For more information about the approver role, see the community repository.

For more information about the emeritus role, see the community repository.

For more information about the emeritus role, see the community repository.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4