Skip to content

runbook/alerting: a plain PromQL 'same revision, two content hashes' check false-positives on aether_registrar_snapshot_content #1322

Closed

Description

@bpalermo

Found grading the 8 h soak nightly-1006-surge/2.4.9-73c23e3 (T0 2026-10-06T15:02:13Z, talos-main).

A superseded content_hash series stops being exported but stays visible for Prometheus's 5-minute lookback, so the naive divergence expression ('two hashes at one revision across replicas') read true in 108 of 1,920 15-second samples on a run where pairing samples by timestamp() shows 0 real divergences (66 revisions sampled, 28 seen on both replicas, 0 with two hashes).

The runbook's divergence rule (from #1204/#1241) and any GitOps alert built on it must pair by timestamp or use a staleness-safe form (e.g. join on timestamp(metric) == timestamp(other), or have the registrar export the hash as a label on the revision gauge so there is one series per replica). Fix the runbook expression and add a promtool test with a stale series.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions