Skip to content

v2.1.0

Choose a tag to compare

@herbertkokholm herbertkokholm released this 08 Aug 14:04
· 25 commits to main since this release

/status and /status.html monitoring endpoints

Two new unauthenticated GET routes, HTTP mode only (alongside /healthz):

  • /status -- JSON snapshot of process uptime, onboarded-tenant count,
    and per-tool call/error totals. Aggregate only, by tool name -- no
    per-tenant or per-library breakdown, which is what keeps it safe to
    leave unauthenticated.
  • /status.html -- the same data rendered as a small page (connector
    icon + name, a metrics table, a per-tool call/error table) for a human
    checking in a browser rather than a script.

Counts are tracked by a new tools/call middleware and in-memory
counters in app/metrics.py -- deliberately not a metrics/analytics
system, just an "is it up and roughly how busy is it" signal that
resets on every restart/redeploy.

The login page (/login) also gets the same connector icon now,
top-centered above the heading.