Skip to content

Honor offline mode for Prometheus performance metrics - #500

Merged
anandtopu merged 1 commit into
mainfrom
codex/prometheus-offline-performance
Nov 28, 2026
Merged

anandtopu merged 1 commit into
mainfrom
codex/prometheus-offline-performance

Conversation

@anandtopu

Copy link
Copy Markdown
Contributor

Summary

  • Apply the shared offline-mode policy to Prometheus performance observations, saved metrics, and health probes.
  • Use Redis-backed in-app counters for Performance in offline mode and preserve the pinned HTTP client for online Prometheus health probes.
  • Document the Performance fallback and cover offline and online behavior in the regression tests.

Verification

  • 42 focused tests passed across observed performance, Prometheus settings and probes, and application metrics.
  • Ruff passed on the changed Python files.
  • Tested the exact local revision on main at 3b7dd2114b48f29c50082abd377d8338175536a9.

This PR contains the locally revised fix for Daybreak finding acf_5764ebd74dba0f331fc5a15f332b9033.

Signed-off-by: Anand Topu <56218058+anandtopu@users.noreply.github.com>
@anandtopu
anandtopu marked this pull request as ready for review November 28, 2026 06:30
@anandtopu
anandtopu merged commit 0e7d8e6 into main Nov 28, 2026
43 checks passed
@anandtopu
anandtopu deleted the codex/prometheus-offline-performance branch November 28, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant