Table of Contents Table of Contents Title and Copyright Information Preface Purpose Audience Documentation Accessibility Diversity and Inclusion Related Resources Conventions Acronyms and Abbreviations Prerequisites General Prevention Best Practices 1 Observability Improvements using Zipkin Traces 1.1 Setting Zipkin Server 1.2 Troubleshooting Zipkin 1.3 Zipkin Issues 1.3.1 Application Service is not Registered 1.3.2 404 Error 1.3.3 Unable to Change Zipkin Default Port Number 2 Observability Improvements Logs using ELK Stack 2.1 Introduction 2.2 Architecture 2.3 Setting up ELK Stack 2.3.1 Run ELK Stack 2.3.1.1 Start Elastic Search 2.3.1.2 Setup and Start Logstash 2.3.1.3 Setup and Start Kibana 2.3.2 Access Kibana 2.3.3 Kibana Logs 3 Health Checks 3.1 Discovery Health Check 3.2 Actuator Health Indicator Endpoint 3.2.1 Generic Service 3.2.2 Kafka Consumers and Producers 4 Troubleshooting Kafka Issues 4.1 Kafka Health 4.1.1 Verify Kafka Health 4.1.2 Verify Zookeeper Health 4.2 Prometheus and Grafana 4.2.1 Prometheus Setup 4.2.2 JMX-Exporter Setup 4.2.3 Grafana Setup 4.2.4 Prometheus Metrics 5 Troubleshooting Flyway Issues 5.1 Failed Migrations 5.1.1 Success Column Verification 5.1.2 Migration Checksum Mismatch for a Version 5.1.3 Placeholder errors Index