Customization¶
Use customization to tune what Orbit records and how visible it is in your environment.
Common Patterns¶
Reduce noise¶
# settings.py
ORBIT_CONFIG = {
"ENABLED": True,
"RECORD_QUERIES": True,
"RECORD_LOGS": True,
"IGNORE_PATHS": [
"/orbit/",
"/health/",
"/metrics/",
"/static/",
],
"SLOW_QUERY_THRESHOLD_MS": 100,
}
Restrict dashboard access¶
Disable expensive watchers¶
Route telemetry to a separate database¶
ORBIT_CONFIG = {
"STORAGE_BACKEND": "orbit.backends.django_db.DjangoDBBackend",
"STORAGE_DB_ALIAS": "orbit",
}
Keep Orbit disabled outside development¶
When To Customize¶
- Tighten
AUTH_CHECKbefore sharing a staging environment. - Lower
SLOW_QUERY_THRESHOLD_MSwhen profiling local performance issues. - Expand
IGNORE_PATHSfor health checks, metrics, and internal endpoints. - Disable watchers selectively if you are debugging overhead or isolating an issue.