This article is about auto instrumenting a Spring Boot application with the otel agent running on EKS, forwarding the telemetry signals (metrics, logs, traces) to backends such as prometheus, loki, tempo via the open telemetry collector and visualize those in Grafana.
The article details the necessary prerequisites for provisioning volumes on AWS.
The article also lists instructions on how to build the Docker image and push it to ECR.
The article also explains how to create an EKS cluster, setup helmfile, and deploy the tool stack.
The author outlines how to deploy the demo app and monitor it from Grafana with the LoadBalancer URL of Grafana.
Instructions to cleanup the project are also provided at the end of the article.
Note that the tags for the telemetry data are obtained from the artifact ID if not provided.
The article provides instructions for adding a logger to the application in the controller class.
Instructions for building a Dockerfile to containerize the application along with the OTEL agent are provided.
Instructions for setting up the demo app with deployment and service configuration are also given.