Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(processing): Extract event timestamp from minidump #662

Merged
merged 10 commits into from
Jul 23, 2020

Conversation

flub
Copy link
Contributor

@flub flub commented Jul 16, 2020

If a minidump event is received, this extracts the timestamp from the
minidump and sets it as the event's timestamp.

relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
relay-server/Cargo.toml Outdated Show resolved Hide resolved
relay-server/src/actors/events.rs Outdated Show resolved Hide resolved
Floris Bruynooghe added 4 commits July 17, 2020 17:05
If a minidump event is received, this extracts the timestamp from the
minidump and sets it as the event's timestamp.
We want to do the counters separately in a followup.

Logging errors shows up as errors in sentry, so avoid doing this.
@flub flub force-pushed the feat/minidump-timestamp branch from 0b03c96 to c4f41f1 Compare July 22, 2020 16:07
Floris Bruynooghe and others added 3 commits July 22, 2020 18:24
This is why testing code should have tests.  Still not adding them
because I like to hurt myself some more first in the misguided believe
this will save me time.
There have been some changes and the functionality is much better.
This allows us to avoid the Cursor wrapping which is slow in debug
builds.
@jan-auer jan-auer changed the title Extract event timestamp from minidump feat(processing): Extract event timestamp from minidump Jul 23, 2020
jan-auer added 3 commits July 23, 2020 14:59
* master:
  doc: Clarify that managed mode is not GA
  release: 20.7.2
  ref(server): Increase maximum attachment size to 100MiB (#671)
  ref(config): Clear up confusion around mebibytes (#670)
  meta: Changelog
  feat(server): Report metrics for upstream connections (#669)
  test: Fix flakey outcomes test (#668)
  ref(transactions): Normalize transaction spans into an array (#667)
  release: 20.7.1
@jan-auer jan-auer marked this pull request as ready for review July 23, 2020 13:02
@jan-auer jan-auer requested a review from a team July 23, 2020 13:02
Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a bunch!

cc @untitaker: this allows us to remove validate_and_set_timestamp in Sentry.

@flub flub merged commit 27ab01c into master Jul 23, 2020
@flub flub deleted the feat/minidump-timestamp branch July 23, 2020 13:28
@untitaker
Copy link
Member

hell yea

jan-auer added a commit that referenced this pull request Jul 27, 2020
* master:
  meta: Upgrade git pre-commit hook to python3 (#676)
  test(server): Ensure invalid minidumps leave events creation intact (#675)
  feat(processing): Extract event timestamp from minidump (#662)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants