AWS Distro for OpenTelemetry

AWS Distro for OpenTelemetry Collector Configuration

AWS Distro for OpenTelemetry Collector Configuration

Collector Configuration Introduction

💡
The CloudWatch examples in this guide use the awsemf and awsxray exporters. AWS now recommends sending OpenTelemetry metrics, traces, and logs to the CloudWatch OTLP endpoints (otlp_http exporter with sigv4auth), or using the Amazon CloudWatch Observability EKS add-on for Container Insights and Application Signals.

After the ADOT Operator is running in your cluster, you can deploy the ADOT Collector as a custom resource. In these instructions, we will deploy a Collector in Deployment mode to perform the following:

  • Scrape metrics and traces inside your EKS cluster.
  • Ingest the metrics to Amazon Managed Prometheus
  • Ingest metrics for CloudWatch
  • Ingest traces for Amazon CloudWatch.

Traces are received in OpenTelemetry Protocol (OTLP) format. Metrics are received in Prometheus format. Other deployment modes of the Collector, such as the Daemonset or Statefulset mode are called for in more advance use cases. We explore one of these advanced use cases here. For more information about Collector configuration, as well as OTLP and Prometheus receiver configurations, Amazon Managed Prometheus, OTLP/HTTP, and X-Ray exporter configurations, and Sigv4 authentication extension configurations, refer to the documentation below:

Below, we have our three Collector configurations, one each for Amazon Managed Prometheus, CloudWatch metrics, and CloudWatch traces. Note that it is possible to combine Collector configurations together, i.e. you can have a Collector set up with more than one receiver, processor, or exporter, and multiple pipelines will be built based on that.

Previous Topics:

Add-on Advanced Configuration

Next Topics:

Collector Configuration for Amazon Managed Prometheus

Sending OpenTelemetry data to CloudWatch OTLP endpoints

X-Ray and OpenTelemetry

Advanced Collector Configuration for Amazon Managed Prometheus

Injecting Auto-instrumentation