InfluxDB: Monitoring Web Server HTTP Response Codes

Scenario: Measuring the number of HTTP response codes returned to clients over time using InfluxDB. This would (for example) produce a line graph with a line for each HTTP code (e.g. 200, 500, 404, etc) which varies over time We use InfluxDB (latest version is 2.0.8 at the time of writing) to monitor much of … Continue reading InfluxDB: Monitoring Web Server HTTP Response Codes

Golang: one function, one argument – multiple types

For better or for worse, Golang is an extremely simple language. It lacks some of the constructs other languages has. One of these features is generics (which at the time of writing, is about to be included in the language, though it hasn't hit production yet). As a refresher, generics allow you to define variables … Continue reading Golang: one function, one argument – multiple types