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(server): Track outcome source #604

Merged
merged 22 commits into from
Jun 9, 2020
Merged

feat(server): Track outcome source #604

merged 22 commits into from
Jun 9, 2020

Conversation

RaduW
Copy link
Contributor

@RaduW RaduW commented Jun 4, 2020

Track which relay generated each outcome

RaduW and others added 18 commits June 2, 2020 12:33
finish integration tests
The macro is improved to support pattern destructuring in addition to
literal parameters. Also, the examples were too artificial, and there
was really no reason they should fail to compile. On top of that, they
had syntax errors, which are fixed now.
Refactors `relay-quotas` without any functional changes and adds a few
tests.
According to our dev docs at https://develop.sentry.dev/sdk/event-payloads/span/, status should be an explicit field on the span struct. The JS SDK is already setting it, and it is rendered for individual spans in the UI.

Update the Span struct to have a field status. This is typed using SpanStatus, the same as the status on an event. Also updated the tests in the file.
@RaduW RaduW requested review from a team and jan-auer June 4, 2020 15:50
@jan-auer jan-auer changed the title feat(server) Track outcome source feat(server): Track outcome source Jun 5, 2020
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.

Reviewed the last commit. Implementation looks good; minor comments below.

relay-config/src/config.rs Outdated Show resolved Hide resolved
relay-server/src/actors/outcome.rs Outdated Show resolved Hide resolved
relay-server/src/actors/outcome.rs Show resolved Hide resolved
CHANGELOG.md 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.

Meant to request a change for the above, then this is G2G.

Co-authored-by: Jan Michael Auer <jan.auer@sentry.io>
@RaduW RaduW requested a review from jan-auer June 9, 2020 09:38
@RaduW RaduW merged commit 9c6bdbb into master Jun 9, 2020
@RaduW RaduW deleted the feat/outcome-track-region branch June 9, 2020 10:13
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.

None yet

4 participants