Post

Detecting failed Octelium generated proxies

Detecting failed Octelium generated proxies

I added detection for failed Octelium generated proxies to close a monitoring blind spot in the homelab.

Add alert detection for Octelium generated proxies

I added a new CI script octelium-proxy-alert-check.sh that runs promtool check and promtool test against fixture rules to validate the new alerts. I extended the runbook octelium.md with a new section that documents the two alert types, OcteliumGeneratedProxyUnavailable and OcteliumGeneratedProxyStaleTerminating, describing their triggers and investigation steps. I made this choice because previous monitoring only covered the managed client and omitted controller‑generated resources, leaving a blind spot for proxy failures.

Validate proxy alert behavior in CI

I updated offline-checks.sh to call the new script, ensuring the CI pipeline validates the alert definitions without a live cluster. The script creates a temporary directory, executes the Prometheus checks, and exits cleanly, catching regressions early. This addition lets us verify that the alert logic remains correct as the code evolves.

Transfer to monitoring practice

The pattern of documenting alerts in runbooks, adding a lightweight CI validation script, and exposing the detection logic to Prometheus can be reused for other generated resources in the homelab. Teams can adopt this workflow to ensure that newly introduced controller workloads are fully observed and that alerts fire reliably when issues arise.

This post is licensed under CC BY 4.0 by the author.