Everything you need to know about observability in Anypoint Platform

Observability is a comprehensive set of capabilities around logging, analytics, monitoring, troubleshooting, and measurement of a system. Here the term system is broadly used to indicate platform, runtimes, and applications. Observability plays a consequential role in providing the real-time pulse of a system. Lacking observability in a system would be similar to flying an aircraft without a fuel indicator.

Disrupting your Asynchronous Loggers

motif

A little while ago we decided that it was time to include the option of asynchronous loggers in Mule ESB.

The asynchronous implementation is faster than the synchronous one because the process waits for IO on a different thread, instead of on the main execution thread, allowing it to continue its execution.

After some research, we decided to use LogBack or Log4j2, both are successors of the Log4j framework.

Asynchronous Logging in Mule 3.6

motif

“Logs are like car insurance. Nobody wants to pay for it, but when something goes wrong everyone wants the best available” – Pablo Kraan

The phrase above fully explains why logs are important and why we need to be able to log as much information as possible without impacting performance. Because logging usually implies an I/O operation, it’s a naturally slow operation.

The Problem

Before Mule 3.6,