OTEL Collector

In this section we will install AWS Distro for Open Telemetry, a secure, production-ready, AWS-supported distribution of the OpenTelemetry project. We will also be configuring Container Insights, which collects container metrics and analyzes them along with other metrics in Amazon CloudWatch.

First let’s get our EKS Cluster ARN:

export CLUSTER_NAME=$(aws eks list-clusters --output=json | jq '.clusters[0]' -r)
echo -e "EKS Cluster Name: ${CLUSTER_NAME}"

Now let’s start configuring our IAM permissions