Using Prometheus Relabeling to Attach Custom Metadata

Home, Bangkok, Thailand, 2021-04-03 23:21 +0700

#infrastructure #observability

 
Photo by david pl

In my homelab, some nodes are expected to be running 24x7 (e.g. my monitoring host) while others are online only when needed (e.g. the Octoprint node that controls my 3D printer). I wanted to create a Grafana dashboard and corresponding Prometheus alerts to catch when those nodes expected to be always-on are down for some reason.

A Step-by-Step Guide to Connecting Prometheus to pfSense via SNMP

Home, Bangkok, Thailand, 2021-02-07 17:28 +0700

#infrastructure #observability

 

The snmp_exporter is one of the trickier Prometheus components to set up because there’s a few moving parts involved in a full configuration and because of the need to run an extra tool to generate the snmp.yml config file from the ever-mysterious “MIBS”.

Manipulating Time Inside a Docker Container

Home, Bangkok, Thailand, 2020-08-27 21:48 +0700

#software_engineering

 
Photo by Jon Tyson

I had an edge case where I needed to be able to run a Docker container with the time 24 hours ahead of the real time for a single containerized build agent in my TeamCity build farm.

speedtest.net Against Multiple Servers in Prometheus / Grafana

Home, Bangkok, Thailand, 2020-08-22 09:51 +0700

#infrastructure #observability

 

Instability on my residential Internet connection this week prompted me to add some blackbox_exporter probes to my Prometheus/Grafana monitoring system so I could collect outage data to share with my ISP.

I'm Bren, a software engineer in Bangkok, Thailand. I love building things, especially software but also tinker with hardware, audio engineering, 3D printing and other media. I am a Senior Cloud Architect at AWS where I help enterprises in the region build things too.

All writings on this site reflect my own views not those of Amazon.

#gear #language #software_engineering #webdev #tools #work #infrastructure #travel #graphic_design #audio_engineering #presentations #devsecops #ttt #organization #cloud #3dprinting #automation #field_recording #aws #hardware #iot #observability