Skip to content

feat: /health and /ops/metrics for a monitor - #63

Merged
PPeitsch merged 2 commits into
mainfrom
feat/ops-health-metrics
Oct 8, 2026
Merged

PPeitsch merged 2 commits into
mainfrom
feat/ops-health-metrics

Conversation

@PPeitsch

@PPeitsch PPeitsch commented Oct 8, 2026

Copy link
Copy Markdown
Owner

/health answers ok and the running commit, or 503 when the database does not
answer. /ops/metrics gives counts (days logged in the week by kind, in total,
users) with a bearer token from OPS_METRICS_TOKEN; unset, it answers 404. Both
skip the login guard.

/health answers ok and the running commit, or 503 when the database does not
answer. /ops/metrics gives counts (days logged in the week by kind, in total,
users) with a bearer token from OPS_METRICS_TOKEN; unset, it answers 404. Both
skip the login guard.
@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
app/__init__.py 96.07% <100.00%> (+0.16%) ⬆️
app/auth.py 96.11% <100.00%> (ø)
app/config/config.py 100.00% <100.00%> (ø)
app/routes/ops.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@PPeitsch
PPeitsch merged commit 1226e5a into main Oct 8, 2026
2 checks passed
@PPeitsch
PPeitsch deleted the feat/ops-health-metrics branch October 8, 2026 07:52
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