Reflectoring.io

Health Checks with Spring Boot

A distributed system is composed of many moving parts like a database, queues, and other services. Health check functions tell us the status of our running application like whether the service is slow or not available. We also learn to predict the system health in the future by observing any anomalies in a series of … See more

Actived: 9 days ago

URL: https://reflectoring.io/spring-boot-health-check/

Exploring a Spring Boot App with Actuator and jq

WebExploring a Spring Boot App with Actuator and jq. Spring Boot Actuator helps us monitor and manage our applications in production. It exposes endpoints that provide …

Category:  Health Go Health

Exposing a Helpful Info Endpoint with Spring Boot Actuator

WebIn a distributed, fast-paced environment, dev teams often want to find out at what time they deployed the app, what version of the app they deployed, what Git …

Category:  Health Go Health

Exposing Metrics of a Spring Boot Application using Dropwizard

WebInjecting the MetricsRegistry. First off, you will need a MetricRegistry object at which to register the metrics you want to measure. In a Spring Boot application, you …

Category:  Health Go Health

Publishing Metrics from Spring Boot to Amazon CloudWatch

WebMetrics provide a quantifiable measure of specific attributes of an application. A collection of different metrics give intelligent insights into the health and performance …

Category:  Health Go Health

Exposing Metrics of a Spring Boot Application for Prometheus

WebIf you read my previous blog post, you know how to expose metrics in a Spring Boot application using Dropwizard metrics and the Spring Boot Actuator plugin. …

Category:  Health Go Health

Monitoring the Error Rate of a Spring Boot Web Application

WebNow, we have a prometheus metric called http_status_500_total that counts unexpected errors within our application and a metric called http_requests_total that …

Category:  Health Go Health

Getting Started with GraphQL

WebIn GraphQL, health checking is relatively complex since the monitoring function needs to parse the response body to check the server status. Caching. With …

Category:  Health Go Health

Implementing a Circuit Breaker with Resilience4j

WebWhen using the Resilience4j circuit breaker CircuitBreakerRegistry, CircuitBreakerConfig, and CircuitBreaker are the main abstractions we work with. …

Category:  Health Go Health

My System for Organizing Work in a Distracted World

WebDistractions and asynchronicity both lead to context switching. Like an operating system switches between processes, we’re switching between tasks. An …

Category:  Health Go Health

Testing JPA Queries with Spring Boot and @DataJpaTest

WebWith the @DataJpaTest annotation, Spring Boot provides a convenient way to set up an environment with an embedded database to test our database queries against. …

Category:  Health Go Health

Logging In Spring Boot

WebLogging is a vital part of all applications and brings benefits not only to us developers but also to ops and business people. Spring Boot applications need to …

Category:  Health Go Health

Building a Robust SQS Client with Spring Boot

WebBuilding a Robust Message Publisher. Let’s start with the easy part and look at publishing messages. The AmazonSQS client, which is part of the AWS SDK, …

Category:  Health Go Health

Tracing with Spring Boot, OpenTelemetry, and Jaeger

WebThis is the whole boilerplate to add Spring Cloud Sleuth including the OpenTelemetry support. Important to note is that we have to exclude spring-cloud-sleuth …

Category:  Health Go Health

5 Good Reasons to Use a Log Server

WebReason #1: Centralization. The main reason for a log server is that the log data is being centralized with the log server as a single point of entry. All other reasons …

Category:  Health Go Health

Implementing Bulkhead with Resilience4j

WebImplementing Bulkhead with Resilience4j. September 17, 2020. Java. Table Of Contents. In this series so far, we have learned about Resilience4j and its Retry, …

Category:  Health Go Health

Retry with Spring Boot and Resilience4j

WebWe can configure the Resilience4j instances we need in Spring Boot’s application.yml file. resilience4j: retry: instances: flightSearch: maxRetryAttempts: 3 …

Category:  Health Go Health

Working with AWS DynamoDB and Spring

WebWorking with AWS DynamoDB and Spring. AWS DynamoDB is a NoSQL database service available in AWS Cloud. DynamoDB provides many benefits starting …

Category:  Health Go Health

Rate-Limiting with Spring Boot and Resilience4j

WebIn this article, we learned how we can use Resilience4j RateLimiter’s built-in Spring Boot support to implement client-side rate-limiting. We looked at the different …

Category:  Health Go Health

Using Kafka with Spring Boot

WebOnce we have a Kafka server up and running, a Kafka client can be easily configured with Spring configuration in Java or even quicker with Spring Boot. Let’s start …

Category:  Health Go Health

Complete Guide to CSRF/XSRF (Cross-Site Request Forgery)

WebComplete Guide to CSRF/XSRF (Cross-Site Request Forgery) Protecting a web application against various security threats and attacks is vital for the health and …

Category:  Health Go Health

Sending HTTP requests with Spring WebClient

WebTesting with Spring WebTestClient. In addition to WebClient, Spring 5 includes WebTestClient which provides an interface extremely similar to WebClient but …

Category:  Health Go Health