Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,11 @@ service at one probe/minute over 90 days.
- **Health & metrics:** point probes at `/healthz` (`HEALTHCHECK` is baked
into the image); scrape `/metrics` and alert on
`epmon_service_up == 0`.
- **Data:** back up the SQLite file — hot copies while running are safe —
or mount the volume into your backup job.
- **Data:** back up the SQLite file with the online backup — never a
plain `cp` of the live file, which can capture a torn write:
`sqlite3 /data/epmon.db ".backup '/backup/epmon-$(date -u +%FT%TZ).db'"`
(then `PRAGMA integrity_check` on restores), or mount the volume into
your backup job and back up from there.

## Metrics (`/metrics`, Prometheus text format)

Expand Down
Loading