fix: resolve GlitchTip anomalies — DB retry, query filters, Sentry DSN, Workers tracking
- 🔴 Fix startup crash when DB is temporarily unavailable: add 5x retry with exponential backoff to Database.MigrateAsync() in API and Workers - 🔴 Fix EF Core 'required navigation with query filter' warnings: add matching soft-delete query filters to AgentSetting, CameraCredentials, CameraDetectionProfile, UserSite - 🔴 Add Sentry error tracking to Workers (Hangfire background jobs) - 🟡 Make Sentry/GlitchTip DSN configurable via SENTRY_DSN env var (applies to API, Web, Agent, Workers) - 🟡 Suppress EF Core RedundantIndexRemoved informational messages Closes GlitchTip #538
This commit is contained in:
1 parent
ee66cf5971
commit
fdfd506977
7 files changed
+108
-34
No files matched your search
@@ -23,6 +23,9 @@ ALARIK_ADMIN_USERNAME=heimdall
|
||||
ALARIK_ADMIN_PASSWORD=heimdall123
|
||||
ALARIK_JWT=ChangeMeAtLeast32BytesLongKeyInProd!
|
||||
|
||||
# Sentry / GlitchTip (error tracking)
|
||||
# SENTRY_DSN=https://key@glitchtip.tordais.cc/6
|
||||
|
||||
# Agent (set per agent instance)
|
||||
Agent__CentralUrl=http://heimdall-central:8080
|
||||
Agent__SiteToken=replace-with-actual-token
|
||||
|
||||
Reference in new issue
Block a user