You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we want to track metrics on feedback screenshots, there's no easy way to get metadata, ex number of attachments, (currently 0/1) in the monolith. After Relay, the two types of events are processed separately and at decoupled times.
Solution Brainstorm
Adding a "num_attachments" field to the contexts object could help. Helpful code refs:
With the change of sending attachments in the same envelope, we could do this in relay -- however ingest is a little wary about having this sort of logic there. See convo in getsentry/relay#3603
Product Area
User Feedback
The text was updated successfully, but these errors were encountered:
After chatting with @mydea he said this doesn't seem to belong in the SDK. Since this data is sent to Relay, and there we have the feedback and attachments. Our goal is just analytics on feedbacks with attachments, this metric could be emitted from there.
Could you please share more details about the concerns from the Ingest team? I see as reviewers on that PR @Dav1dde and @jjbayer
To expand: our goal is to understand how many Feedbacks include attachments. So attachment statistics by themselves are not helpful to us. Project A can use feedback and attachment but might not be using the Feedback+Attachment capability we just shipped.
Problem Statement
If we want to track metrics on feedback screenshots, there's no easy way to get metadata, ex number of attachments, (currently 0/1) in the monolith. After Relay, the two types of events are processed separately and at decoupled times.
Solution Brainstorm
Adding a "num_attachments" field to the contexts object could help. Helpful code refs:
SDK:
https://github.com/getsentry/sentry-javascript/blob/d651f1319c95867be03c55f95c5878771c1e4c26/packages/types/src/feedback/sendFeedback.ts#L14
https://github.com/getsentry/sentry-javascript/blob/d651f1319c95867be03c55f95c5878771c1e4c26/packages/types/src/feedback/sendFeedback.ts#L34
Backend:
sentry/src/sentry/eventtypes/feedback.py
Line 8 in 3f140db
Alternative
With the change of sending attachments in the same envelope, we could do this in relay -- however ingest is a little wary about having this sort of logic there. See convo in getsentry/relay#3603
Product Area
User Feedback
The text was updated successfully, but these errors were encountered: