New: Audit Trail – see who made changes to your alerts, dashboards, Apps in your account, who gave access to whom, etc.  Learn more

java

Java Logging Basics: Concepts, Tools, and Best Practices

Imagine you're a detective trying to solve a crime, but all the evidence is invisible.  Sounds impossible, right?  That's exactly what it's like trying to debug a Java application without

Java Logging Frameworks Comparison: SLF4j vs Log4j vs Logback vs Log4j2 [Differences]

Any software application or a system can have bugs and issues in testing or production environments. Therefore, logging is essential to help troubleshoot issues easily and introduce fixes on time.

solr-reindexer: Quick Way to Reindex to a New Collection

If you’re using Solr, for sure there are times when you change the schema and need to reindex. Quite often the source of truth is a database, so you can

Understanding Memory Leaks in Java: Common Causes & How to Detect Them

There are multiple reasons why Java and the Java Virtual Machine-based languages are very popular among developers. A rich ecosystem with lots of open-source frameworks that can be easily incorporated

How to Handle Java Lang OutOfMemoryError Exceptions

All the applications that you're trying to execute require memory. It doesn't matter if the application was developed using assembly language. Or if you used a low-level programming language like

Exception Handling in Java: How-to Tutorial with Examples & Best Practices

As developers, we would like our users to interact with applications that run smoothly and without issues. We want the libraries that we create to be widely adopted and successful.

Key JVM Metrics to Monitor for Peak Java Application Performance

Monitoring is crucial if you want to see what happens in your system and JVM-based applications are not different. Well, some metrics, like memory and garbage collection, require special attention

Understanding Java Garbage Collection Logging: What Are GC Logs and How to Analyze Them

When working with Java or any other JVM-based programming language we get certain functionalities for free. One of those functionalities is clearing the memory. If you’ve ever used languages like

SLF4J Tutorial: Loggers, Levels & How to Configure for Java Applications with Examples

Logging is a crucial part of the observability of your Java applications. Java logs combined with JVM metrics and traces give full observability into the application behavior and are invaluable

Logback Configuration Example: Tutorial on How to Use It for Logging in Java

Troubleshooting issues in your applications can be a complicated task requiring visibility into various components. In the worst-case scenario, to understand what is happening and why it is happening you

Java Logging Tutorial: Basic Concepts & Examples to Help You Log Efficiently

When it comes to troubleshooting Java application performance, JVM metrics are no longer enough. To fully understand the environment you also need Java logs and traces. Today, we're going to

Log4j2 Configuration Tutorial: Appenders, Levels, Examples

When it comes to troubleshooting application performance, the more information you have the better. Java logs combined with JVM metrics and traces give you full visibility into your Java applications.

Java Logging Best Practices: 10+ Tips You Should Know to Get the Most Out of Your Logs

Having visibility into your Java application is crucial for understanding how it works right now, how it worked some time in the past and increasing your understanding of how it

A Step-by-Step Guide to Java Garbage Collection Tuning

Working with Java applications has a lot of benefits. Especially when compared to languages like C/C++. In the majority of cases, you get interoperability between operating systems and various environments.

What Is Garbage Collection in Java & How It works: Tutorials & Best Practices

In this tutorial, we will talk about how different Java Garbage Collectors work and what you can expect from them. This will give us the necessary background to start tuning

JVM Tuning: How to Prepare Your Environment for Performance Tuning

When it comes to Java applications, to make sure they run at peak performance, it’s critical to close the resource gap between the code and the virtual machine it’s running

Java 9 Elasticsearch Benchmark

TL;DR: The main question here is: How Does Java 9 Work with Elasticsearch 6? It works well, but don't expect miracles. Unless you're using G1, then there are some miracles. With