Masterspringboot.com

How to implement custom Health indicators in Spring Boot

WebWe have implemented the same logic in our Health indicator so that if you try to reach the “/actuator/health” URL, the health() callback is performed. This is a …

Actived: 2 days ago

URL: http://www.masterspringboot.com/spring-boot-actuator/how-to-implement-custom-health-indicators-in-spring-boot-2/

Monitoring Spring Boot with Prometheus

WebMonitoring applications is essential for ensuring performance, diagnosing issues, and optimizing resources. In the realm of Spring Boot, integrating Prometheus …

Category:  Health Go Health

Configuring Hystrix Dashboard in your Spring Boot application

WebSetting up your Spring Boot project. Firstly, bootstrap your project, including the following dependencies: Next, open your project “hystrix-dashboard” in your favourite …

Category:  Health Go Health

How to log all requests and responses in SpringBoot

WebBy default, only the /health and /info endpoints are exposed by default. To expose the httptrace Endpoint, you need to add in your application.properties the …

Category:  Health Go Health

Spring Boot Monitoring with Grafana and Prometheus

WebEffective monitoring is crucial for maintaining the health and performance of modern software applications. In the context of Spring Boot applications, two open …

Category:  Health Go Health

Configuring Loggers with Spring Boot Actuators

WebFirstly, we will set up a sample Spring Boot application that will log a set of statements with different verbosity. Besides your application dependency make sure to …

Category:  Health Go Health

Collect a Thread Dump with Spring Boot Actuator

WebIn order to enable the Spring Boot Actuator, make sure you have the starter available as a dependency: Then, enable the Thread Dump endpoint, include the …

Category:  Health Go Health

Heap Dump with Spring Boot Actuator

WebHeap dumps are vital for diagnosing memory-related issues in Java applications.Spring Boot Actuator simplifies the process of collecting heap dumps, …

Category:  Health Go Health

Service discovery with Netflix Eureka and Ribbon

WebRegistering a client with Eureka means that a client provides its own meta-information (hostname, port, health indicator URL, and homepage). Each instance of a …

Category:  Health Go Health

Spring Boot 3: A simple tutorial with example

WebInitialize a Spring Boot 3 application. Firstly, we will create a Maven project to boostrap our application. Head to the Spring Boot Initializr: https://start.spring.io/. From …

Category:  Health Go Health

Hikari Connection Pool with Spring Boot made simple

Webspring.datasource.hikari.poolName: This property represents a user-defined name for the connection pool and appears mainly in logging and JMX management …

Category:  Health Go Health

Securing Spring Boot Actuator Endpoints

WebOut of the box, all sensitive Spring Boot Actuator endpoints are secured. Only authenticated users who have the ACTUATOR role can access those endpoints. …

Category:  Health Go Health

Configure Spring Boot logging with application.yml

WebIn a default structure Spring Boot web application, you can locate the application.yml file under the resources folder. To understand how Spring Boot Logging …

Category:  Health Go Health

Configuring Spring Boot with Cassandra

WebBefore we start coding, it is important that we provide port, keyspace-name and contact-points properties for connection’s info, via spring.data.cassandra: …

Category:  Health Go Health

Exception Handling in Spring Boot applications

WebThrowing Exceptions from the Endpoint. Let’s create a resource that throws an exception, and send a GET request to it in order to understand how the application …

Category:  Health Go Health

Securing Spring Boot applications with LDAP

WebLDAP is commonly used in Spring Boot applications as a source of authentication and authorization information. In this tutorial we will learn how to secure a …

Category:  Health Go Health

How to shutdown Spring Boot applications gracefully

WebLearn how to gracefully shut-down a Spring Boot application using the Actuator endpoints, a feature that allows you to monitor and manage your application …

Category:  Health Go Health

Using Camel Netty Components to manage socket routes

WebThe netty component is a socket based Camel communication component, which relies on the Netty project. Netty is a client server framework designed around …

Category:  Health Go Health

Using Helm Charts to manage your Spring Boot applications on …

WebUsing Helm Charts to manage your Spring Boot applications on Kubernetes. In this tutorial we will learn how to deploy a Spring Boot application on Kubernetes and …

Category:  Health Go Health

SpringBoot on Kubernetes with Helm Charts

WebKubernetes has become the de facto standard for container orchestration, allowing you to efficiently manage and scale containerized applications. Helm, on the …

Category:  Health Go Health