Remove the metrics dashboard and monitoring package (v2.12.0)

The in-memory metrics system covered one gunicorn process at a time, was
lost on restart and was never used. Remove /admin/metrics-dashboard,
/admin/metrics, starpunk/monitoring, the HTTP/query timing, memory monitor,
feed counters, METRICS_* settings and psutil. Keep /health, /admin/health
(without its metrics block), pool stats and the feed cache. ADR-072.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-03 16:07:47 -07:00
1 parent d6a916ba7d
commit 742e2e3ec3
36 files changed
+153 -2963

No files matched your search

+3 -6
View File
@@ -235,15 +235,12 @@ starts only if at least one is.
| `THREADS_MAX_MEDIA` | `4` | |
| `SYNDICATION_POLL_INTERVAL` | `10` | Seconds |
### Metrics and debugging
### Debugging
The `METRICS_*` variables were removed in v2.12.0 and are ignored if set.
| Variable | Default | Notes |
|----------|---------|-------|
| `METRICS_ENABLED` | `true` | HTTP/database metrics and the memory monitor |
| `METRICS_SLOW_QUERY_THRESHOLD` | `1.0` | Seconds |
| `METRICS_SAMPLING_RATE` | `1.0` | |
| `METRICS_BUFFER_SIZE` | `1000` | |
| `METRICS_MEMORY_INTERVAL` | `30` | Seconds |
| `DEBUG_SAVE_FAILED_UPLOADS` | `false` | Keep failed uploads in `debug/` |
| `DEBUG_FILE_MAX_AGE_DAYS` | `7` | |
| `DEBUG_FILE_MAX_SIZE_MB` | `100` | |