-
Notifications
You must be signed in to change notification settings - Fork 509
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
Add util to send user feedback #1064
Comments
Have a method in |
Hey I am planning to take it up. I have taken a look at the Dsn class in utils but I was unable to find a method for feedback api url. Nor I could find any organization / project slug values in the Dsn nor in Auth. What am I missing ? |
Hey @vagi8 You are right. Right now the SDK only knows the DSN but not the So I guess this is not a minor change as we thought. We will need to discuss this internally if we want to have this feature in the Python SDK. |
We discussed this internally and because this is not only about giving the user the Feddback api URL, but implementing a feature that puts user feedback in an envelope and send it to Sentry, we will not implement this right now or in the short to mid term future. We have more pressing things on our agenda. So I will close this issue. |
@antonpirker Would this still be OK to contribute as a PR, or is this a feature you currently don't want implemented at all for some reason?
|
Nevermind, found info on the topic: https://develop.sentry.dev/sdk/envelopes/ Would a PR that does things similar to getsentry/sentry-javascript#7729 be OK to submit?
Actually never mind, I guess we would need to send the envelope on it's own, since we need to send it after the event was already sent, since you usually have to ask the user for feedback after the event happened. But this should still be possible without major refactoring in the SDK via the transport's The docs say:
So sending them seperately seems fine and appropriate in this generic use case IMO and it seems to be the same thing the JavaScript SDK does. Unless I'm missing something there doesn't seem to be any big refactoring required or anything else in the SDK that blocks this. Everything needed seems to be there. |
This adds an API to the Sentry Python SDK that captures user feedback via envelope. This is implemented very similiarly to how it is done for the JavaScript SDK, see getsentry/sentry-javascript#7729. Fixes getsentryGH-1064
This adds an API to the Sentry Python SDK that captures user feedback via envelope. This is implemented very similiarly to how it is done for the JavaScript SDK, see getsentry/sentry-javascript#7729. Fixes getsentryGH-1064
I opened a PR to implement this: #2442 |
Applications which don't already use the client-side sentry SDK may want to display their own UI to send user feedback to associate with an error that was logged to sentry.
It would be nice if the user feedback api was exposed in a clean way. For example, it should automatically infer the correct host/path from the DSN.
Not sure if this doesn't actually require changes on Sentry itself... right now I don't see how one would get the data needed for
organization_slug
andproject_slug
using just the DSN...The text was updated successfully, but these errors were encountered: