feat(observability): expand self-host Sentry context and monitors#3752
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3752 +/- ##
==========================================
- Coverage 93.37% 93.37% -0.01%
==========================================
Files 316 316
Lines 32296 32292 -4
Branches 11841 11838 -3
==========================================
- Hits 30158 30153 -5
Misses 1507 1507
- Partials 631 632 +1
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-06 07:37:27 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
src/selfhost/sentry.ts(SENTRY_OPERATIONAL_TAG_KEYS,SENTRY_OPERATIONAL_SUBSYSTEMS,SENTRY_MONITOR_NAMES) and apply allowlisted tags consistently viaapplyOperationalTags.captureError, structured log forwarding, and cron monitor failures withkind,subsystem,jobType, and related low-cardinality fields so Sentry issues point at the affected subsystem.Closes #1824
Scope
SENTRY_DSNunset remains a complete no-op (existing behavior preserved)Changed files
src/selfhost/sentry.tsapplyOperationalTags; tag captureError/monitor failuresapps/gittensory-ui/src/routes/docs.self-hosting-operations.tsxtest/unit/selfhost-sentry.test.tstest/unit/docs-selfhost-sentry-observability.test.tsValidation
Safety