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
Unified API Client.Close() #111
Comments
Agree, I missed that. |
Close would also involve releasing resources. Like Potential signatures:
|
While this is part of the Unified SDK spec, this is not a critical feature. Originally I wanted to bundle this together with improvements to Flush and updating docs. Considering recent conversations with @bruno-garcia and having in mind his influence to remind me that "when in doubt, leave it out", I decided to leave it out for now. Correct programs can be written using What Note that in other languages, once the SDK is initialized, there is no such option to remove all of its traces (e.g., we can't safely reverse monkey patches, though that's not a thing in Go). |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
The Shutdown and Draining docs page for Go suggests using
sentry.Flush
where other SDKs useClose
.Then it says:
That is incorrect docs, since it doesn't match what
Flush
does.We should implement
Close
and fix the docs to use it.As seen in recent issues,
Flush
is often not the answer and is being misused.The text was updated successfully, but these errors were encountered: