Reliable Insights

A blog on monitoring, scale and operational Sanity

September 26, 2016

Instrumenting Python with Prometheus

Python is one of the four languages that has an official Prometheus client. Let's take a quick look at how to use it.

Read more

August 22, 2016

Exposing the software version to Prometheus

I've previously mentioned that you shouldn't have the version of your software as either a target label, or exposed via a label on all metrics of your server as it'll make using the metrics more challenging. What should you do instead?

Read more

January 13, 2016

Writing a Jenkins exporter in Python

I previously talked about writing JSON exporters in Python for Prometheus. Since then, the API for custom collectors in the Python client has been improved. So let's see how easy it is to create a new exporter!

Read more

December 3, 2015

Exporting to Graphite with the Prometheus Python Client

Prometheus doesn't try to lock you into it's ecosystem - in fact it makes it straightforward to both get data both in and out. This reduces operational overhead and allows for smoother transitions between monitoring systems.

Read more

October 9, 2015

Monitoring Batch Jobs in Python

Prometheus monitoring is usually against on long-lived daemons, but what if you've a batch job that you want to monitor?

Read more

September 21, 2015

Audio Alerting with Prometheus

Prometheus offers integrations with systems like PagerDuty, Email and Hipchat for alert notifications - but what if you want do something that's not supported out of the box? The Alertmanager's generic web hook has got you covered.

Read more

August 19, 2015

Writing JSON Exporters in Python

A common question is is there a way to ingest JSON metrics from a random system into Prometheus? It's not possible to extract useful metrics from an arbitrary JSON blob, so that's not something the can be offered out of the box. However it's easy to write an exporter in Python to produce meaningful metrics.

Read more

twitter
youtube
linkedin

Blog   |   Training   |   Book   |   Privacy