Ed McCormic Source on GitHub
All specs

Spring Boot and Java deep dives

Spring Boot + Elastic Observability

InfoWorld's Elastic Cloud observability walkthrough rebuilt to run entirely in Docker Compose.

View code on GitHub

Problem

The article uses Elastic Cloud and a GCP VM. I wanted the same setup locally, with no cloud account needed.

Article to local mapping

Article This repo
Elastic Cloud elasticsearch + kibana 8.19 containers
Cloud APM endpoint apm-server on :8200
mvnw with -javaagent ./gradlew bootRun, with the agent jar from Maven
Filebeat MariaDB error/slow logs + app ECS JSON logs
Metricbeat mysql, system, docker
Heartbeat the same monitor, plus /actuator/health

Changelog

  • 2026-09-28: Built