Mathias Palmersheim

Easy Mode Monitoring and Logging with Shiftmon

Deploy a full observability stack on a tiny VM. This is monitoring and logging on easy mode.

Easy Mode Monitoring and Logging with Shiftmon
#1about 2 minutes

Introducing ShiftMon for easy observability deployment

ShiftMon is an open-source, opinionated observability on-ramp designed for a small infrastructure footprint using just a Linux VM and three DNS records.

#2about 3 minutes

Understanding the core components of the ShiftMon stack

The stack uses Traefik for TLS automation, Grafana for visualization, VM Auth for request authorization, and VictoriaMetrics for storage.

#3about 5 minutes

How ShiftMon automates data collection with Telegraf

ShiftMon uses Telegraf and an Ansible role to automatically instrument common services by enumerating systemd units and detecting applications like Nginx or Docker.

#4about 3 minutes

Choosing between push and pull for telemetry data

The push model is recommended for mobile and ephemeral environments like laptops or CI workers where traditional service discovery is impractical.

#5about 5 minutes

Exploring the wide range of supported services

ShiftMon provides out-of-the-box support for services like Traefik, Caddy, pfSense, Proxmox, Docker, and black box monitoring for availability.

#6about 1 minute

Securely managing credentials for authenticated endpoints

Integrate with secrets managers like OpenBao or Bitwarden to securely provide credentials for authenticated services without storing them in plain text.

#7about 2 minutes

Extending ShiftMon with custom configurations and dashboards

Users can inject their own custom alert rules, Telegraf configurations, and dashboards to monitor proprietary or unsupported applications.

#8about 2 minutes

Avoiding common security pitfalls in observability

Avoid running collection agents like Telegraf as the root user to prevent potential security vulnerabilities from arbitrary command execution.

#9about 4 minutes

Creating effective custom dashboards and alert rules

Manage dashboards and alerts as code, prefer data source managed alerts for scalability, and write clear alerts for your future self at 2 a.m.

#10about 4 minutes

A live demonstration of the ShiftMon platform

The demo showcases the Grafana-based UI, single sign-on, pre-built dashboards, log and trace correlation, and integrated alert management.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.