v1: Monitors and ntfy alerts

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start with blocked issue #1 and ADR 0002, which the technical notes identify as the basis for config-defined Monitors and Connectors reloaded on SIGHUP. The candidate stories span monitor evaluation, alert persistence, missing-data detection, ntfy delivery with retries, and related behavior, so first check which story is ready to split out as v0 nears completion. Done means meeting the chosen story's acceptance criteria; this issue's overall success signal is reliable outage alerts with fewer than one noisy alert per week.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:alerting feature priority:medium

As a homelab operator,
I want to be told on my phone when a service misbehaves or goes silent,
so that I learn about outages before the people using my services do.

Acceptance criteria

  • Given a Monitor defined in the config file, when its condition holds, then I receive a notification on my ntfy topic, and another one when it recovers.
  • Given a service stops sending data, when a Monitor watches it, then I am notified that data is missing.

Success signal: Over a month, every real timonier outage triggered a notification, and fewer than one notification per week was noise.
Out of scope: Editing Monitors in the web page, connectors other than ntfy.
Open questions: None.

Technical notes

To split with /pm plan when v0 is nearly done. Candidate stories:

  • Define Monitors and Connectors in the config file, reloaded on SIGHUP (ADR 0002)
  • Evaluate metric Monitors and show Alert states in the web page, persisted across restarts
  • Monitors on log counts
  • no_data Alerts, on by default
  • Flap protection (N consecutive evaluations)
  • ntfy Connector with a persisted outbox and retries for up to 24 hours
  • Reminders while an Alert stays firing
  • Guide for an external watchdog (healthchecks.io heartbeat)

Blocked by #1

Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
12m
PR unite (30g)
6

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jdrouet/tinyobserve

Tutte le issue di jdrouet/tinyobserve

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.