
Discover how to use Spring Boot Actuator to monitor metrics, traffic, and databases, override and customize endpoints, and build a backend API with an Angular admin dashboard.
Explore building a front end admin dashboard for a Spring Boot Actuator backend, featuring an employee manager, system status cards, real-time http code charts, and export to Excel.
This lecture outlines prerequisites for building the Spring Boot Actuator admin dashboard, covering Java, Spring Boot, Angular and TypeScript fundamentals, HTTP requests, cURL and Postman, and basic database concepts.
Prepare your Spring Boot actuator admin dashboard project by installing Java, npm, and Angular CLI, choosing Visual Studio Code or IntelliJ, and setting up MySQL or PostgreSQL databases.
Spring Boot Actuator provides a simple tool to manage and monitor Spring Boot applications through exposed endpoints, accessible via http or the Java management extension.
Add the springboard starter actuator dependency to your application, using Gradle or Maven, and configure endpoints to expose only what you need for monitoring and managing the app.
Learn how to locate and access Spring Boot actuator endpoints by visiting /actuator and specific paths like /actuator/health, and how to customize or override endpoint paths through configuration.
Explore the Spring Boot Actuator documentation and the PDF version to understand payload details and how actuators work. Fetch actuator data in JSON via a browser extension.
Create a Spring Boot application with web and actuator dependencies, bootstrap with Java 8, and run on localhost:8080 to explore health and info endpoints.
Expose all Spring Boot actuator endpoints by configuring exposure include with a star, then view mappings like beans and health, and show health details always for deeper insight.
Add application information to the Spring Boot Actuator info endpoint by configuring name, description, and version; rebuild and restart to see updates, and access endpoints via genomics.
Learn to monitor a Spring Boot app with JMX and JConsole, connecting to endpoints to inspect health, info, memory, and threads via a desktop console.
Override the actuator base path to organize endpoints under a custom admin prefix, and learn how to configure management endpoints and navigate the documentation.
Discover how to add custom health indicators to the Spring Boot Actuator health endpoint to verify services are running. See how endpoint returns up or down with service status data.
Create a custom actuator endpoint by annotating a class with endpoint and a unique id. Expose a read operation that returns a map and supports parameters like username.
Bootstrap a Spring Boot app with Spring Initializr, configure group and artifact, and add Web, JPA, and MySQL Connector. Generate the project and run the main application class.
Create the employee model with id, name, email, job title, phone, image URL, and employee code, implement serializable, and map it to a database with identity-generated id and column constraints.
Configure the Spring Boot application to connect to a MySQL database by setting datasource host, port, database name employee manager, and credentials, and enable show sql with the MySQL5 dialect.
Create and wire a Spring Data repository to save employees, using an employee service to generate the employee code from a random UID and persist the new employee.
Build a repository-backed service that finds all employees, saves updates, deletes by id, and finds by id with optional handling and custom exceptions.
Implement and refine the employee service by handling find-by-id failures with a custom runtime exception, organizing it in an exception package, and preparing for database transactions.
Build an employee resource controller in spring boot, delegating to a service and exposing create, read, update, delete endpoints with rest mappings and response entities for client requests.
Test a spring boot api with postman by sending get and post requests to the employees endpoint, submitting json data (name, email, job title, phone, image URL).
Master httpie to interact with a Spring Boot backend, performing get, post, and put requests to the employee endpoint using a JSON file.
This introduction walks through building the application and shows a short video, and you can skip this section to jump to the admin dashboard.
Scaffold and run an Angular front end with Angular CLI, npm, and Bootstrap; connect a service and component to backend endpoints, and launch a simple one-page app on localhost:4200.
Generate an employee service with the Angular CLI, inject the HttpClient, and implement getEmployees to fetch the employee list from the backend API.
Define an employee interface with id, name, email, job title, phone, image URL, and employee code, and implement CRUD calls to mirror backend endpoints listing, adding, updating, and deleting employees.
Inject the employee service into the component, fetch the employee list via an observable and subscribe, updating the employees array and handling errors, using the development API URL.
Display the employee list in a Spring Boot admin dashboard, and configure cross-origin resource sharing to allow the frontend to access backend, validating the app runs with all employees shown.
Import bootstrap and custom styles to set up the admin dashboard template, loop over employee data to generate cards with name, job title, email, and phone, using safe navigation operator.
Open modals programmatically in a bootstrap admin dashboard by wiring a single function to handle add, edit, and delete employee forms with prefilled data and save or cancel actions.
Debug the modal logic by stepping through code and setting breakpoints, then inspect the button attributes and data target to confirm add and edit behavior.
Add an Angular form with a forms manager, bind inputs by name, submit to the employee service backend, then refresh the employee list and show the new employee.
Edit an employee by opening a modal, binding the form to the selected employee, and saving updates with an update function that preserves id and code for the backend.
Implement delete employee functionality by binding the delete action to a button, passing the employee id to the service, reloading the list, and handling errors with a zero-employee alert.
Implement a client-side employee search in an admin dashboard using a TypeScript array, performing case-insensitive matches on name, email, phone, and job title as the user types.
Build an admin dashboard using Spring Boot Actuator as an illustration of its power, showing what you can achieve with the tool.
Create an Angular app for the admin dashboard using the Angular CLI, generate a service to call the backend, and run the app to retrieve admin dashboard data.
Explore building an admin dashboard service with unit testing in Angular and Spring, using test bed to create service instances, inject HttpClient, and call actuator endpoints from the back end.
Configure development versus production environments and set a server url. Implement an Angular service that uses http get requests, observables, subscribe, and pipe to fetch http traces.
Continue building the service by adding typed endpoints to fetch system health, cpu count, and process time, using a specific interface to power a simple Spring Boot Actuator admin dashboard.
Define a system health interface in TypeScript that exposes the overall status and nested checks for database and disk space to power the admin dashboard.
Define a system cpu model with name, description, base unit, and a measurement array of rate objects, and map actuator API responses to TypeScript interfaces.
map json responses by mirroring endpoint structures into TypeScript interfaces, using the health endpoint with status and details. define interfaces for nested objects and apply them to return types.
Learn to build an admin dashboard using a bootstrap HTML template with gradient cards from Boot Datacom, font awesome icons, and bootstrap JS for modals.
Define component variables to store trace data and the selected trace, and prepare separate 200, 400, 500, and default trace lists for the admin dashboard.
Inject the dashboard service, call get traces, and subscribe to the response. Initialize in ngOnInit and plan a separate method to process traces by status codes.
Learn to segregate http traces by response status, using a loop and switch, placing traces into 200, 400, 404, 500 lists for the admin dashboard.
Show how to display http traces in an admin dashboard by pulling 200, 400, and 500 responses into a front-end template, formatting timestamps, and using safe navigation.
Populate the traces table in a Spring Boot Actuator admin dashboard by looping through the trace list and displaying timestamp, method, time taken, and status using energy switch logic.
Open a trace details modal from the trace list and populate it with request and response data, including timestamp, time taken, remote address, origin, user agent, and status.
Implement three callbacks—success, error, and final cleanup—to handle responses, errors, and post-action steps with a consistent error strategy. Log errors, show user-friendly messages, and remove console logs before deployment.
Display system cpu usage by fetching cpu measurements, accessing the first measurement's value, and rendering it in the template with a dynamic danger alert when thresholds are met.
Display system health in the admin dashboard by fetching health data, showing system state, database details, and formatted disk space units.
Display process uptime by fetching the backend time, format it as minutes and seconds, and update every second in the admin dashboard navigation bar.
Refreshes data by re-calling backend functions, resets arrays to zero, and avoids re-starting the set interval, ensuring accurate counts and enabling future pagination and chart updates.
Install and use chart.js to render a bar chart and a pie chart on canvases, creating a new Chart with labels, datasets, colors, and options via npm and library documentation.
Create a bar chart by initializing the chart element, importing the chart library, defining labels and a data set, configuring colors and options, and invoking the chart after processing traces.
Switch from bar to pie chart, adjust options to show the title and legend, reuse the same data, and implement an enum for chart types, plus adding pagination.
Install and import the Ingenix pagination library, apply its pagination pipe to your list, and configure page size, current page, and total items with a pagination control.
Create a downloadable excel export of the dashboard table by adding a download link, encoding the table data as excel, and replacing spaces with %20 in the url.
Build an admin dashboard with Spring Boot Actuator, filter traces in the UI with JavaScript, and format dates while linking the front end to the Java back end.
In this course, you will learn how to use Spring Boot Actuator to manage and monitor performance and resource consumption of Spring applications. This course teaches how to set up an application to take advantage of the actuator technology to examine, monitor, gather metrics, understand traffic, and the state of database of Spring applications.
You will learn about the different tools (JMX - JConsole & HTTP) that can be used to consume the endpoints exposed by the Spring Boot Actuator. You will also build an entire administration dashboard using the latest version of Angular to monitor health, metrics, HTTP traces, etc of a Spring applications.