You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SENTRY_RELEASE in combination with manual captureException(), the event.timestamp is sometimes skewed by several seconds (occasionally even into the future).
This leads to misordered events in the Sentry UI timeline and impacts alerting thresholds.
Steps to Reproduce
Deploy a Lambda with SENTRY_RELEASE set via env.
Trigger manual captureException() during cold start.
Observe event timestamps.
Expected Result
Accurate event.timestamp aligned with actual execution time.
Actual Result
Timestamp offset (e.g. future-dated by 2–4s).
Notes
Seems related to lazy initialization of release context in async environments. May benefit from await Sentry.flush() or lazy-load guards.
The text was updated successfully, but these errors were encountered:
Environment
Problem
When using
SENTRY_RELEASE
in combination with manualcaptureException()
, theevent.timestamp
is sometimes skewed by several seconds (occasionally even into the future).This leads to misordered events in the Sentry UI timeline and impacts alerting thresholds.
Steps to Reproduce
SENTRY_RELEASE
set via env.captureException()
during cold start.Expected Result
Accurate
event.timestamp
aligned with actual execution time.Actual Result
Timestamp offset (e.g. future-dated by 2–4s).
Notes
Seems related to lazy initialization of release context in async environments. May benefit from
await Sentry.flush()
or lazy-load guards.The text was updated successfully, but these errors were encountered: