minor
Prometheus Metrics
An opt-in Prometheus endpoint, bulk issue deletion by state, and storage cleanups that run in the background
Prometheus metrics
Set RUSTRAK_METRICS=on and the server answers GET /metrics on its existing
port. It is off by default, and the route returns 404 until it is enabled
(@WahidinAji).
- Reports ingest totals and latency, digest outcomes, 5xx responses by route, failed alerts by provider, the pending spool and the database size
- Labels never carry project IDs, user details or event contents
/metricshas no authentication: keep it on a trusted network or restrict it at the reverse proxy
Background storage cleanup
A cleanup now runs on the server in small batches, each committed on its own, so ingestion keeps working while it runs. The storage page shows its progress, and you can leave the page and come back to it later. Only one cleanup runs at a time.
- Breaking:
POST /api/storage/cleanupanswers202with the job instead of the final counts, andclient.storage.executeCleanup()returns aCleanupStatus GET /api/storage/cleanup/statusreportsidle,running,completedorfailedwith the rows removed so far. It is available asclient.storage.getCleanupStatus()and as the MCP toolget_storage_cleanup_status- If the server restarts mid-cleanup, what was already deleted stays deleted
Improvements
DELETE /api/projects/{id}/issuestakes eitheridsor afilter(open,resolved,muted,all), in the client and the MCPbulk_delete_issuestool (@WahidinAji)- The storage page estimates per-project size from a sample of recent rows, so it stays fast however much data the instance holds. Row counts stay exact
- The integrations page links back to the alert settings you came from (@WahidinAji)
- Dependency updates
