Configuring monitoring for Java Spring application using Prometheus and Grafana

Monitoring is a crucial aspect of modern software development. It’s essential to have visibility into your system state at any given moment. The choice of what to monitor is flexible and really depends on your team, as monitoring tools can accommodate custom metrics. Common metrics to consider include memory usage, I/O, error rates, and more. In this article, I will guide you through setting up an open-source monitoring stack using Prometheus and Grafana for your Java Spring Boot application....

July 17, 2024

Setting up Checkstyle linter for Java

Modern software development requires automated code checks to ensure that common code style standards are met. This is usually done by linters, which are available for many programming languages and usually built in a CI pipeline. What is a linter? A linter is a tool that analyzes your source code for potential errors, stylistic inconsistencies, and other issues that can affect code quality and maintainability. The name “linter” comes from the Unix utility lint, which was first released in the 1970s....

May 28, 2023

How to sign git commits

There is a feature in git which allows signing commits by GPG key. However, not all developers heard about it. In this post, we will see how to enable it. Why do you need it? The only purpose of signing your commit is for others to be sure that this commit was really made by you and not by someone pretending to be you (anyone can set a completely random name and email by git config user....

October 5, 2022

JetBrains Fleet review (preview version)

At the end of 2021, JetBrains announced the new application into their IDE line-up: Fleet. However, this is not really an IDE, but just an editor (with a hidden power). https://blog.jetbrains.com/blog/2021/11/29/welcome-to-fleet/ It is still in the preview stage, so it may change significantly by the time it will be publicly available. And I was lucky enough to get my preview version from JetBrains. What is Fleet Roughly speaking, Fleet is an attempt from JetBrains to take over VS Code (or Sublime Text) market....

January 27, 2022