Superuser route to flush the metrics collector now
POST /observability/flush handles what the collector has queued and writes it, so the soak harness no longer sleeps FLUSH_INTERVAL_S before clearing its own rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
@@ -208,6 +208,7 @@ Connector state keys can also be listed and cleared by a superuser; see
|
||||
| `GET` | `/observability/summary` | health and engine version; always returns `200` |
|
||||
| `GET` | `/observability/timeseries`, `/observability/flows` | execution metrics or flow rollups |
|
||||
| `GET` | `/observability/runs`, `/observability/events`, `/observability/dead-letter` | cascades, events, or abandoned work |
|
||||
| `POST` | `/observability/flush` | write buffered metrics and events now; superuser only |
|
||||
| `GET` | `/utils/health/` | deep health check; fails on loop or state-backend problems |
|
||||
| `GET` | `/workers`, `/workers/resources` | attached workers and resource availability |
|
||||
| `GET`, `POST` | `/workers/tokens` | list or mint worker credentials; superuser only |
|
||||
|
||||
Reference in New Issue
Block a user