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

+1 -11
View File
@@ -199,19 +199,9 @@ THREADS_USERNAME=
# SYNDICATION_POLL_INTERVAL=10
# =============================================================================
# MONITORING
# DEBUGGING
# =============================================================================
# Metrics shown on /admin/metrics-dashboard (default: true)
# METRICS_ENABLED=true
# Queries slower than this many seconds are logged (default: 1.0)
# METRICS_SLOW_QUERY_THRESHOLD=1.0
# Fraction of operations recorded, 0.0-1.0 (default: 1.0)
# METRICS_SAMPLING_RATE=1.0
# METRICS_BUFFER_SIZE=1000
# Seconds between memory samples (default: 30)
# METRICS_MEMORY_INTERVAL=30
# Keep uploads that fail processing in DATA_PATH/debug for diagnosis
# (default: false); cleaned up by age (default: 7 days) and total size
# (default: 100 MB)