AWS Distro for OpenTelemetry
Cloud service · AWS · Updated

AWS Distro for OpenTelemetry

In short

AWS Distro for OpenTelemetry is a secure, production-ready, AWS-supported distribution of the OpenTelemetry project that makes it easy to instrument applications for high-quality observability on AWS services and beyond.

Cloud Services Hub →

8 key features of AWS Distro for OpenTelemetry

AWS Distro for OpenTelemetry offers secure and automatic data collection, broad language support, seamless integration with AWS services, flexibility in customization, and is open-source, benefiting from community contributions.

01
Secure by Default

AWS Distro for OpenTelemetry is designed with security as a priority, providing secure data collection by default to ensure the safety of sensitive information.

02
Automatic Instrumentation

Java and Python auto-instrumentation agents can collect trace data; language-specific OpenTelemetry SDKs can be used to instrument applications for additional data.

03
Broad Language Support

AWS Distro for OpenTelemetry supports a wide range of programming languages, making it accessible to a diverse set of developers and applications.

04
Integration with AWS Services

Seamlessly integrates with AWS monitoring and observability services like Amazon CloudWatch, AWS X-Ray, and Amazon Managed Service for Prometheus, enabling enhanced monitoring capabilities.

05
Customizable and Flexible

Offers flexibility in data collection and exporting, allowing customization to meet specific monitoring and troubleshooting needs.

06
Open Source and Community-Driven

As an open-source distribution, it benefits from community contributions and adheres to Cloud Native Computing Foundation (CNCF) standards, ensuring transparency and continual improvement.

07
Tail Sampling

ADOT tail sampling evaluates sampling policies after all spans in a request have completed, allowing control over trace ingestion volume and reducing raw data transferred to CloudWatch.

08
X-Ray Centralized Sampling

ADOT SDKs for Java and Go support X-Ray centralized sampling rules.

Where AWS Distro for OpenTelemetry is used

AWS Distro for OpenTelemetry is used for monitoring microservices, performing application performance monitoring (APM), achieving unified observability across various sources, facilitating multi-cloud and hybrid cloud monitoring, and enabling cost-effective observability solutions.

  1. 01
    Monitoring Microservices Architecture

    AWS Distro for OpenTelemetry enables organizations to collect telemetry data like traces, metrics, and logs from their microservices. This data can be used to monitor service health, track deployments, and identify performance bottlenecks in a microservice architecture.

  2. 02
    Application Performance Monitoring (APM)

    With AWS Distro for OpenTelemetry, developers can gain insights into the performance of their applications across different environments (e.g., development, staging, production). It supports identifying slow-running queries, understanding call patterns between services, and troubleshooting failures or performance issues in real-time.

  3. 03
    Unified Observability

    AWS Distro for OpenTelemetry provides a unified way to collect and standardize telemetry data across various sources and services. By using OpenTelemetry's APIs and SDKs, teams can avoid vendor lock-in and easily switch between different backend providers for analysis and monitoring.

  4. 04
    Multi-cloud and Hybrid Cloud Monitoring

    Organizations leveraging multi-cloud or hybrid cloud architectures can use AWS Distro for OpenTelemetry to collect and aggregate telemetry data from AWS services, as well as other cloud providers and on-premises resources. This facilitates centralized monitoring and observability across diverse environments.

  5. 05
    Cost-effective Observability

    By using AWS Distro for OpenTelemetry, businesses can reduce their observability costs. It allows for efficient data collection and transmission, reducing data transfer volumes and storage needs. Organizations can optimize costs based on their operational and monitoring requirements.

How AWS Distro for OpenTelemetry is priced

AWS Distro for OpenTelemetry itself is free, but costs are incurred based on the usage of AWS services and data transfer volumes.

Direct Usage Costs

AWS Distro for OpenTelemetry itself is free. Users pay for traces, logs, and metrics sent to AWS according to the receiving services' pricing.

Data Transfer Charges

Costs may be incurred for data transfer within AWS services or outbound data transfer to the internet, depending on the volume of data and the specific AWS services utilized. Standard AWS data transfer rates apply.

Services AWS Distro for OpenTelemetry works with

Amazon CloudWatchAmazon CloudWatch

Allows you to send collected metrics, traces, and logs to Amazon CloudWatch for storage, monitoring, and analysis.

AWS X-RayAWS X-Ray

Enables you to send trace data to AWS X-Ray for distributed tracing, making it easier to analyze and debug production and distributed applications.

Amazon Managed Service for PrometheusAmazon Managed Service for Prometheus

Facilitates the collection and delivery of Prometheus metrics to Amazon Managed Service for Prometheus, allowing for scalable monitoring of containerized applications.

Amazon OpenSearch ServiceAmazon OpenSearch Service

Enables integration for searching, analyzing, and visualizing telemetry data using OpenSearch and OpenSearch Dashboards.

AWS LambdaAWS Lambda

Provides automatic instrumentation and telemetry data collection for AWS Lambda functions, including metrics and traces.

Amazon Bedrock

AWS Distro for OpenTelemetry can instrument Amazon Bedrock model invocations and collect generative AI telemetry, including invocation latency, token usage, and model identifiers. This telemetry can be sent to CloudWatch to investigate application performance and model usage.

Amazon Bedrock AgentCore

AWS Distro for OpenTelemetry can instrument agents hosted in Amazon Bedrock AgentCore Runtime and export their telemetry to CloudWatch. AgentCore Observability uses the resulting traces to help investigate agent executions and tool calls.

Amazon EC2Amazon EC2

The AWS Distro for OpenTelemetry Collector can run as an agent on EC2 instances to collect application traces and metrics and export them to AWS monitoring services. Its EC2 resource detection can attach instance metadata to telemetry.

Amazon ECS AnywhereAmazon ECS Anywhere

The AWS Distro for OpenTelemetry Collector can run alongside application containers in ECS Anywhere tasks. It collects application telemetry from workloads on external infrastructure and forwards it to destinations such as AWS X-Ray and Amazon CloudWatch.

Amazon EKS AnywhereAmazon EKS Anywhere

AWS Distro for OpenTelemetry can be deployed in EKS Anywhere clusters to collect telemetry from Kubernetes workloads. Collectors running in the cluster can forward application traces and metrics to AWS monitoring services.

What is AWS Distro for OpenTelemetry

3 min read

AWS Distro for OpenTelemetry is an Amazon Web Services (AWS) supported distribution of the OpenTelemetry project, tailored to provide a secure, production-ready, AWS-supported version of OpenTelemetry for users looking to gather telemetry data (metrics, logs, and traces) from their cloud-native applications. OpenTelemetry, part of the Cloud Native Computing Foundation (CNCF), is an open-source project that aims to standardize the generation, collection, and management of observability data. 

ADOT SDKs for Java, Node.js, Python, and .NET can send application logs and traces directly to OTLP endpoints without a collector.

When sending traces directly to an OTLP endpoint without a collector, the SDK defaults to parentbased_always_on, sampling 100% of traces; this can produce up to 20 times the ingestion volume and cost of the recommended 5% sampling rate.

ADOT JavaScript supports server-side Node.js applications but cannot export data to X-Ray from browser clients.

AWS Distro for OpenTelemetry exemplifies AWS's commitment to the open-source community and its efforts to provide tools that enhance the observability and operability of applications running in the cloud or on-premises environments, while ensuring interoperability and avoiding vendor lock-in. 

The significance of AWS Distro for OpenTelemetry lies in its deep integration with AWS services and infrastructure, offering a seamless and optimized experience for AWS customers. This integration makes it easier for developers to collect telemetry data from a wide range of AWS services and resources, effectively monitor the performance, and diagnose and troubleshoot issues in their applications. 

The distribution supports popular AWS services such as Amazon Elastic Compute Cloud (EC2), Amazon Elastic Kubernetes Service (EKS), AWS Lambda, and Amazon ECS, among others, thus providing a comprehensive solution for AWS-centric environments. 

ADOT is available as an Amazon EKS add-on for observability within a cluster.

AWS-managed ADOT Lambda layers package OpenTelemetry with an out-of-the-box configuration for Lambda and X-Ray, allowing OpenTelemetry to be enabled or disabled for a function without code changes.

In addition to facilitating the collection of telemetry data, AWS Distro for OpenTelemetry is designed with security, scalability, and robustness in mind. It adheres to the rigorous AWS standards for security and compliance, ensuring that the telemetry data is collected, processed, and stored securely.

Furthermore, the distribution is built to scale effortlessly with the applications it monitors, capable of handling the demands of large-scale, enterprise-grade cloud applications without sacrificing performance or reliability. Another key aspect of AWS Distro for OpenTelemetry is its support for an open, vendor-neutral ecosystem. 

By embracing OpenTelemetry, AWS reinforces the importance of community-driven standards for observability. This approach not only ensures that the applications are future-proof and compatible with a wide array of observability tools and platforms but also encourages innovation and collaboration within the open-source community. Users of AWS Distro for OpenTelemetry benefit from the collective expertise and contributions of a vibrant community of developers and companies who are continually advancing the state of observability technology. 

In conclusion, AWS Distro for OpenTelemetry is a testament to AWS's investment in open-source and its dedication to providing customers with advanced, secure, and integrated solutions for monitoring and observability. By combining the strengths of OpenTelemetry with AWS's cloud expertise, the distribution offers a powerful tool for developers and organizations to enhance the visibility, performance, and reliability of their applications, thereby fostering more resilient and efficient cloud-native ecosystems.

AWS Distro for OpenTelemetry exam questions

Real practice exam questions on AWS Distro for OpenTelemetry, with the correct answer and its explanation. Answer them with every option in the exam simulator.

SAP-C03

A company runs a document-processing platform on Amazon EKS. An API service accepts independent customer requests and places processing jobs in an internal buffer. A dispatcher combines jobs from unrelated requests into batches and sends each batch to worker services through a proprietary messaging protocol. Workers process jobs concurrently and can retry individual jobs.

The services use AWS Distro for OpenTelemetry instrumentation and export spans through collectors to AWS X-Ray. HTTP operations appear correctly, but worker operations appear as disconnected traces. The proprietary protocol has no automatic instrumentation. Each job already includes a business job ID, and each batch has a batch ID.

Operations engineers must navigate from an individual API request to its worker operations, distinguish retry attempts, and identify which operation contributed to the processing delay. Jobs from unrelated requests must not be represented as descendants of the same request. The company must retain its batching protocol and vendor-neutral instrumentation.

Which solution meets these requirements?

Show answerCORRECT ANSWER

Create a producer span for each job under its originating request context and inject that span's context into the job's metadata. At the worker, extract the context for each job, create a child processing span, and activate that context only for the job's execution. Record each retry attempt in a separate child span.

Per-job context propagation preserves the originating request's trace and causal relationships despite batching. Extracting and activating context separately for concurrent jobs prevents context leakage between requests. Distinct retry spans make attempt durations and failures visible without conflating separate executions.

Practice AWS Distro for OpenTelemetry in a full exam

Questions on AWS Distro for OpenTelemetry in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Distro for OpenTelemetry in lessons

3 short lessons on AWS Distro for OpenTelemetry in 1 certification course.

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.