
Learn how to monitor Spring Boot Actuator in production with its out-of-the-box features and no configuration needed, and how to extend and customize it for your microservices and web applications.
John Thompson, founder of Spring Framework Guru, shares his journey from project management to a Spring and Java specialist, now a consultant delivering enterprise Spring solutions nationwide.
Explore Spring Boot Actuator, a production monitoring toolkit for apps, dashboards, health checks, and dynamic logging. Learn its out-of-the-box endpoints, customization, and how it supports microservices and enterprise deployments.
Explore Spring Boot Actuator by examining a sample application and begin using it. Complete a hands-on assignment to create your own application for use throughout the course.
Explore a simple spring boot actuator project that mimics an e-commerce catalog, wiring spring data jpa, thymeleaf templates, a text message service, and in-memory data.
Create your own Spring Boot Actuator application by recreating the provided project, or building from scratch, following the course guidelines and working in parallel for stronger learning.
Explore Spring Boot Actuator endpoints, review the built-in options, and learn to develop custom endpoints to expose application metrics and health data.
Spring Boot actuator offers default production endpoints out of the box, including health, metrics, env, mappings, docs, loggers, and db migration insights with Flyway and Liquibase, plus Jolokia.
Develop a custom endpoint in Spring Boot Actuator by extending the abstract endpoint, configuring an id path, autowiring the NBC adapter, and exposing a list of strings.
Spring boot actuator exposes endpoints over http; configure spring security to secure those endpoints, control sensitive data, and tailor access through secure contexts for public and private deployments across industries.
Learn how to customize Spring Boot actuator endpoint paths using application properties, including management context path and endpoints mappings, to override conflicts and route endpoints like /system/info.
Create your own custom endpoint and get it working with Spring Boot Actuator, illustrating how to implement and integrate endpoints in this course.
Change the Spring Boot actuator port via a simple application properties override, learning how to route management endpoints to a separate port and practice the configuration in the assignment.
Review the steps to create a custom endpoint with Spring Boot Actuator, expose it through Spring MVC via an NBC adapter, and run management on a separate port.
Conclude this section on endpoints in spring boot actuator by showing how to access and customize endpoints for information in and out, and preview health endpoints used frequently.
Explore spring boot actuator health indicators and how automated tools in cloud-based microservice environments like OpenShift and Kubernetes detect and restart unhealthy services for production resilience.
Explore the auto configured health indicators in Spring Boot Actuator, including Cassandra, data source, Elasticsearch, JMS, mail, Mongo, RabbitMQ, Redis, and Solr, and how non 200 statuses trigger alerts.
Learn to implement custom health indicators with Spring Boot Actuator, exposing health status via a Health object and builder pattern for reliable application monitoring.
Create and implement a custom health indicator within spring boot actuator for this assignment, then observe its failure and success statuses with a simple example like a number generator.
Explore how Spring Boot actuator health indicators enable automated monitoring and service recreation, a vital feature used daily by companies to monitor production applications.
Explore Spring Boot Actuator’s application information features, including Git data and other run-time details, displayed on a web page to verify deployed versions and support microservice deployments.
Discover Spring Boot Actuator's info endpoint and its three auto-configured information contributors—environment, git, and build—and how to enable them with Maven, git.properties, and build-info.
Learn to add custom application information to the Spring Boot Actuator information page by implementing the info interface and configuring app info via properties, environment variables, and externalized property files.
Add a maven plugin to generate a Git properties file at compile time, enabling Spring Boot to display Git commit information on the web page for accurate deployment version troubleshooting.
Implement a Chuck Norris information module for Spring Boot Actuator by adding a custom information provider, using the provided code to create a Chuck Norris sayings generator.
Review the coding assignment and Spring Boot Actuator integration, including publishing a Chuck Norris information contributor to Maven Central and wiring a configuration bean for the info tab.
Discover how spring boot actuator application information provides valuable tools and GitHub details, and emphasize knowing the actual running version, with optional fun from the Chuck Norris plugin.
Explore how Spring Boot actuator exposes system metrics, including counter and gauge, to track messages sent, page views, and memory usage, enabling efficient dashboards in production.
Explore spring boot actuator system metrics to monitor memory, cpu utilization, heap, threads, garbage collection, uptime, and data source and cache metrics for app health.
Explore the default system metrics from Spring Boot Actuator, including memory, CPU usage, disk space, threads, and loaded classes, and enable readable JSON with pretty print.
Add a custom metric with Spring Boot Actuator to increment the counter each time a product is retrieved via the web application, wired into the product service.
Implement a custom counter metric and a gauge metric in a Spring Boot app, expose them with Spring Boot Actuator, and view real-time metrics on a webpage.
Implement a counter and a gauge service in Spring Boot Actuator to track increments and set values like pageviews per minute, using fully qualified metric names.
Discover how Spring Boot Actuator tracing reveals real-time web requests, headers, and responses, empowering you to troubleshoot by inspecting the last thousand requests and their metrics.
Expose metrics endpoints with Spring Boot Actuator to capture real-time data, integrate Prometheus, and deliver time-series dashboards for production monitoring.
Learn secure methods to interact with a running Spring Boot application via Actuator, adjust logging levels at runtime, and navigate enterprise security constraints for production environments.
Learn how jmx enables connecting to a running jvm, viewing and changing properties like log levels, and interacting with queues, via Jolokia html endpoints and Spring Boot actuator.
Enable remote shell access to a running spring boot app by adding the spring boot starter remote shell dependency and SSH on port 2000; includes docker and metrics exploration.
update the crash plug-in to a newer ssh version to fix the OSX Sierra remote shell issue when running Spring Boot in IntelliJ.
Explore the remote shell in Spring Boot Actuator to run troubleshooting commands, inspect jvm memory, threads, jmx, and garbage collection, with real-time insights from Docker containers.
Access spring boot actuator endpoints from the shell and http, using endpoint list to view metrics and info, with auto refresh for real-time performance benchmarking and low overhead.
Explore spring context information with real-time auto-configuration reports and bean listings using spring boot actuator to troubleshoot and understand runtime configuration.
Explore real-time log level tuning in a Spring Boot app, using logback and slf4j, and observe trace, debug, info, warn, and error output via a scheduled task.
Change log levels at runtime in a spring boot app using groovy scripts to access logback logger via fully qualified class name, enabling immediate debugging without container restart.
Extend the crash shell with groovy-based custom commands for Spring Boot Actuator to fit your use case, including messaging and log handling.
Log into a spring boot instance with spring boot actuator and view runtime JVM details from its shell. Adjust log levels and endpoints, and extend the toolset with custom commands.
Master the GitHub workflow for the course by forking, cloning, and using branches to align your local workspace with my repository, enabling comparisons and easy updates.
Explore how spring boot actuator provides a production toolset to monitor applications, expose health via endpoints, access the container for JVM data, version details, and log level adjustments.
Offers two bonuses: a discount code for all courses and 25% off an IntelliJ license; email John at Spring Framework Guru to receive the code.
For far too many developers, running an application in production is an after thought. In big enterprises, as a developer, you write an application and then turn it over to another team. Someone else promotes your code into QA and then the operations guys eventually take your code to production.
Out of sight, out of mind right?
Wrong. Not so much anymore.
The age of DevOps has really brought developers and operations closer together.
Spring Boot has introduced a tremendous amount of functionality to the Spring Framework. If you are building modern Spring Framework applications, you're probably already using Spring Boot.
An awesome feature of Spring Boot is Spring Boot Actuator.
If you're a developer, Spring Boot Actuator brings you a set of tools you want to be using to help people in operations monitor your application.
Spring Boot Actuator is all about supporting and monitoring your application running production.
If you're in operations, Spring Boot Actuator is a set of tools you want your developers to enable in their Spring Boot projects.
Spring Boot Actuator is a set of tools for monitoring and managing Spring Boot Applications as they run in production.
As the industry moves towards microservices deployed in containers, automated monitoring becomes more and more important.
Out of the box Spring Boot Actuator provides a health endpoint which can easily be wired into container orchestration tools, such as Kubernetes or Open Shift, which can be used to trigger alerting or automated self-healing.
But Spring Boot Actuator is much more than just a simple health endpoint.
In this course you will learn:
About the available Spring Boot Actuator endpoints.
How you can write your own custom endpoints.
How to use Spring MVC to expose endpoints via HTTP.
About the out of the box health checks provided by Spring Boot Actuator.
How to write your own custom health check.
How to show Git commit information on the Information endpoint.
How to show build information on the Information endpoint.
How to see system health metrics (memory, cache hits, disk usage, etc)
How to add metrics to see your application activity (page views, or other custom actions)
How to change log levels at runtime to aid troubleshooting.
When things go wrong in production, wouldn't it be nice to know exactly what version of your code is running?
With Spring Boot Actuator, it's simple to add information from your Git checkin or your Jenkins CI build. Then, you can go to the information endpoint and know exactly what version of the code is running in production.
As you troubleshoot a problem, sometimes you need to see more detailed log output.
If you're running in production, your logging levels are probably turned down to keep the logging overhead at a minimum.
What you need is a way to shell into your running application and change the log levels.
In this course, you will see exactly how you can shell into your running application to adjust the log levels.
If you're deploying Spring Boot applications in today's enterprise, Spring Boot Actuator is really a must have.