docs(logging): audit source, corrected measurements, pitfalls, acceptance evidence #69

Merged
sirius merged 1 commit from wt/t_34ddaa83 into master 2026-11-27 06:06:15 +00:00
Owner

Docs + one alert-threshold correction for the logging store. No behaviour change beyond the alert.

  • docs/logging.md: audit-log section (allowlist, dual-retention note, the 05:52–05:58 UTC stage.pack incident and its purge), corrected measurements (7.0x compression, quiet vs osint-crawl regimes, ≤3.7 GiB over 192h), a pitfalls section, and the acceptance evidence with the honest pod-log depth ceiling.
  • LokiIngestRateAboveBudget now fires at 200 kB/s (~17 GB/day raw) instead of 12 MiB/s — the old number was ~50x too lax to protect an 8Gi PVC.
Docs + one alert-threshold correction for the logging store. No behaviour change beyond the alert. * `docs/logging.md`: audit-log section (allowlist, dual-retention note, the 05:52–05:58 UTC `stage.pack` incident and its purge), corrected measurements (7.0x compression, quiet vs osint-crawl regimes, ≤3.7 GiB over 192h), a pitfalls section, and the acceptance evidence with the honest pod-log depth ceiling. * `LokiIngestRateAboveBudget` now fires at 200 kB/s (~17 GB/day raw) instead of 12 MiB/s — the old number was ~50x too lax to protect an 8Gi PVC.
- audit log section: allowlist fields, the two-retention-policies note, and the
  05:52-05:58 UTC incident (stage.pack leaked _entry; fixed, purged by wiping
  the PVC and resetting positions).
- measurements: 7.0x compression on the fresh store; two regimes (quiet 360
  MB/day, osint crawl 3.2 GB/day raw) -> <=3.7 GiB over 192h against an 8Gi PVC.
- pitfalls that cost real time: alloy validate does not catch component build
  errors, stage.json is JMESPath, stage.pack keeps _entry, file source needs an
  explicit timestamp stage, alloy positions path permissions.
- acceptance evidence: the real 7-day lines, per-source retained depth (incl.
  the honest 5d9h pod-log ceiling) and the restart test.
- alert threshold: 200 kB/s (was 12 MiB/s, which was ~50x too lax to mean
  anything against an 8Gi PVC).
sirius merged commit 464b9822b0 into master 2026-11-27 06:06:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/homek8s!69
No description provided.