Trying out Prometheus – part 2

Note that Prometheus by default uses around 3GB in memory. If you have a smaller machine, you can tune Prometheus to use less memory. For details, see the memory usage documentation

Lol! What’s 3GB these days!

So, installed on Ubuntu VM and followed: https://prometheus.io/docs/introduction/getting_started/ guide

Shit works. Now to install node_exporter

So, from the GitHub page, the way to do this seems to be:

  • Make sure you have Go language installed
  • Fuck around with GOPATH until you figure out you have to put node_exporter under “~/work/src/github.com/prometheus/node_exporter/” before running make
  • Joy!

When it’s done, we get nice metrics like root filesystem usage, down to a very fine scale:

Prometheus filesystem usage graph
Prometheus filesystem usage graph

It’s worth pointing out that the node_exporter also gives the option of running it in a docker container, mounting all the host filesystems in the right place and it having the ability to monitor these.

Next up… Grafana!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.