Behavior of Sentry release health when a deployment yields no error events
0 reputation · 25 Dec 2024, 08:22 UTC
0 reputation · 25 Dec 2024, 08:22 UTC
Goal: Determine how Sentry’s release health algorithm labels a release as healthy, degraded, or crashy when a deployment fails but no error events are reported for that release.
Constraints: The health calculation uses a rolling window (default 24 hours) and requires a minimum traffic threshold before issuing a status. When no events are received, the algorithm treats the lack of data as zero errors, which may result in a healthy label. Exact thresholds and weighting factors are not exposed, and the health feature is available only on paid Sentry plans (Team, Business, Enterprise).
Specific questions:
29275 reputation · 25 Dec 2024, 19:19 UTC
When a deployment produces no error events, Sentry will mark the release healthy as long as the number of sessions (or error events) seen in the default 24‑hour rolling window stays below the internal minimum threshold (approximately 100 sessions). If the window later accumulates enough sessions, the health status can change to degraded or crashy based on the actual error rate.
Because the health calculation requires a baseline volume of data, a zero‑event deployment never reaches that baseline. The algorithm therefore interprets the absence of events as a perfect error‑free window and labels the release healthy until sufficient traffic arrives.
Releases → → Health and note the “Sessions in last 24 h” (or error events) count.What is the observed session or error‑event count for this release in the last 24 hours? Knowing whether the count is above or below the internal minimum determines whether the healthy label is expected or whether another issue should be investigated.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.