Reliable Insights

A blog on monitoring, scale and operational Sanity

March 4, 2019

Measuring Java garbage collection with Prometheus

GC stats are one of the many metrics that the Java/JVM client library exposes.

Read more

August 20, 2018

Using the Java client with Gradle

While the Java client library uses pom.xml and Maven, there's nothing stopping you from using other tools such as Gradle

Read more

July 24, 2017

Existential issues with metrics

The Prometheus instrumentation best practices say to "Avoid missing metrics". Let's look at why, and how to deal with it.

Read more

July 10, 2017

How to unit test Prometheus instrumentation

If you've determined a metric should be tested, how do you go about that?

Read more

June 26, 2017

Exposing Dropwizard metrics to Prometheus

If you've an existing instrumentation library in use, it's not always practical to immediately switch to a Prometheus instrumentation library. There are a multitude of integrations available to aid your transition.

Read more

February 27, 2017

Label Lookups and the Child

The Prometheus client library guidelines recommend having a Child be returned via labels(). Why?

Read more

January 2, 2017

Memory usage of Prometheus client libraries

A common question around Prometheus client libraries is how much RAM they'll use on a busy process. There tends to be disbelief when we say it's the same as an inactive server. Let's look deeper.

Read more

January 28, 2016

Exporting to Graphite with the Prometheus Java Client

I previously looked at how the Prometheus Python client can output to Graphite. You can do the same with the Java client, letting you instrument once and integrate with non-Prometheus monitoring systems.

Read more

January 5, 2016

Instrumenting Java with Prometheus

Getting started with a new library it helps to have an example to work from. Let's look at a simple example of using Prometheus instrumentation in Java.

Read more

August 19, 2015

Viewing Logs for the JMX Exporter

Sometimes mBeans produce errors when scraped by the JMX exporter. Being able to look at detailed logs can help you figure out exactly which mBean is having issues and why.

Read more

twitter
youtube
linkedin

Blog   |   Training   |   Book   |   Privacy