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: Remove store endpoint #631

Merged
merged 7 commits into from May 8, 2023
Merged

feat: Remove store endpoint #631

merged 7 commits into from May 8, 2023

Conversation

cleptric
Copy link
Member

@cleptric cleptric commented May 4, 2023

To move forward on initiatives like https://github.com/getsentry/team-replay/issues/70 and getsentry/team-webplatform-meta#45, we decided to remove the /store endpoint from the Go SDK.

These changes require a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of self-hosted Sentry (aka onpremise) older than 20.6.0 then you will need to upgrade.

I removed quite a few things from logrusentry_test.go.
My reasoning is that we mostly care about testing entryToEvent, as all other functionality is wrapped into CaptureEvent. Making the tests work again would require copying a lot of functionality from client_test.go, something I'm not keen on maintaining.

Copy link
Member

@tonyo tonyo left a comment

Choose a reason for hiding this comment

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

Looks good so far

transport.go Outdated Show resolved Hide resolved
transport.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 7, 2023

Codecov Report

Patch coverage: 86.66% and project coverage change: -0.21 ⚠️

Comparison is base (f7478f0) 79.86% compared to head (c33e6e5) 79.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #631      +/-   ##
==========================================
- Coverage   79.86%   79.66%   -0.21%     
==========================================
  Files          38       38              
  Lines        3889     3885       -4     
==========================================
- Hits         3106     3095      -11     
- Misses        675      681       +6     
- Partials      108      109       +1     
Impacted Files Coverage Δ
interfaces.go 92.57% <ø> (ø)
transport.go 78.37% <84.61%> (ø)
dsn.go 96.18% <100.00%> (-0.12%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cleptric cleptric marked this pull request as ready for review May 7, 2023 23:34
@tonyo tonyo changed the title Remove store endpoint feat: Remove store endpoint May 8, 2023
@cleptric cleptric merged commit 94e8e06 into master May 8, 2023
14 checks passed
@cleptric cleptric deleted the remove-store-endpoint branch May 8, 2023 08:58
@tonyo tonyo mentioned this pull request May 23, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants