Monitoring is fun! It is so fun that once you started you’ll never leave any of your apps without some fancy metrics. But sometimes beginners are afraid to touch this area, mostly because the rest of the tech is overwhelmed with complexity, standards, and conventions.

In this article, we’ll try to show how simple it could be to start using metrics, storing them in VictoriaMetrics TSDB and visualizing via Grafana.

Photo by James Lee on Unsplash

Instrumenting app with metrics

We’ll start by implementing a very simple go web app that shows articles about observability. As an endless source of nice and good articles we’ll use Google search!

Simple Go…

Yesterday, InfluxData released a new product called InfluxDB IOx written in Rust. That solution covers a few different cases compared to VictoriaMetrics but still can be used to store metrics. And as you know, we love to do benchmarks with other metrics storages (influx, scylla, timescale).

We’re always curious about new solutions and approaches in the world of time series, and IOx caught our eye. We were impressed with the product design and introduction. And we wanted to compare to our product, so we did the simplest billy benchmark (see more details here) on a single instance with the following…

Monitoring isn’t easy. Well, sometimes it can be easy, but sometimes it’s not. Often, it’s easy to catch a problem, if you know what to look for — just create a query that captures it, and set up an alert for it.

But oftentimes you don’t know what can happen and would like to detect problems that never happened before, or you don’t know the exact rule that can capture it.

Imagine that you have a critical business metric that goes up and down periodically. It can be a number of requests or CPU load or the money your company…


The Aspiring Monitoring Solution

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store