The Holy Trinity of Monitoring: Logs, Metrics, and Traces
summary
Demo application runs on three AWS Lightsail instances and uses Elasticsearch and Kibana for all storage and dashboards. System metrics come from Metricbeat, network activity from packetbeat listening on the wire, and logs via Filebeat modules parsing nginx and app JSON logs. A Java Spring Boot service intentionally triggers an out of memory crash, producing 259 Java errors that get grouped by stack-hash. Heartbeat checks detect downtime; distributed traces show a slow request up to ~2 seconds. Provisioning uses Terraform and Ansible; everything is reproducible on GitHub and mostly works live.
AI-written summary · about
