mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 15:11:13 -05:00
Set up auto metric collection
Add Django Celery tasks and utilities to periodically collect system metrics (error rates, response times, queue sizes) and record them into metric_time_series. Include monitoring app scaffolding, metrics collector, Celery beat schedule, middleware for live metrics, and a Supabase edge function for cross-source metrics.
This commit is contained in:
10
django/apps/monitoring/apps.py
Normal file
10
django/apps/monitoring/apps.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""
|
||||
Monitoring app configuration.
|
||||
"""
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class MonitoringConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'apps.monitoring'
|
||||
verbose_name = 'System Monitoring'
|
||||
Reference in New Issue
Block a user