Skip to content

prober: the shutdown flush stamps a suppressed-failures summary with a time in the future #1463

Closed

Description

@bpalermo

The prober rate-limits its AETHER_PROBE_FAIL lines and closes each window with a suppressed summary. When the summary is flushed at shutdown, its t is the flush time plus one window (p.fails.flush(time.Now().Add(failLogWindow)) in prober/internal/prober/prober.go, which passes a future now to force every open window closed, and closeWindow prints that now). The last line a prober writes is therefore dated 60 s after the pod stopped.

e2e/soak/prober-grade.sh tolerates it (a summary up to two minutes past the window end is treated as a boundary summary, #1458), but the line misleads anyone reading the log, and a log query bounded at the pod's stop time misses it.

Fix: stamp a flushed summary with the flush time, and carry the window's bounds as fields if they are needed. Found while finishing #1458.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugminorobservability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions