Tag Archives: spring boot

Metrics Alarms with Prometheus and Alertmanager

By | April 20, 2021

In this article I will use Prometheus and Alertmanager to send alarms when disk-space is low for a Spring Boot application. Actually, any service or application which have metrics that can be scraped by Prometheus can have alarms so the technique described in this article is not only applicable to Spring Boot services and applications.… Read More »

Quest For the Spring Data DynamoDB Grail

By | December 11, 2020

The following are a few words and some simple examples showing how to use Spring Data DynamoDB to store and retrieve data in a DynamoDB database. In the example, which consists of a few tests, I will use a local instance of DynamoDB running in a container. No prior knowledge of DynamoDB is assumed, though… Read More »

Spring Boot and Tracing Calls

By | January 12, 2020

For quite some time now I have thought it would be very useful to have some type of id associated with the processing of a request logged in connection to the log messages generated when the request is processed. This in order to be able to query Elasticsearch or similar for all the logs generated… Read More »

Preparing Message Payloads with Thymeleaf

By | August 8, 2017

In this article I will show how to prepare message payloads with parameters in different formats using the Thymeleaf template engine. No previous knowledge of Thymeleaf is assumed. As far as I am concerned there are several use cases for this. Some examples are: System integration. Requests can be maintained as plain files and no… Read More »

Updated REST Example

By | May 21, 2017

A short note to tell you that my REST example application has been updated for the first release candidate of Spring 5 as well as the first milestone for Spring Boot. Some minor changes in the API I’ve used, such as introducing findById in Spring Data JPA repositories which return an Optional. I’ve also created… Read More »