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
Since SDK v8 and the release of the UF widget, there are 2 data formats for feedback. “User reports” in Postgres, and “Feedback issues” in Clickhouse. Feedback issues are a superset of user reports and newer, so all user-facing services should work with feedback issues.
Issue details “User Feedback” tab shows feedback issues associated with the current event, making use of the associatedEventId field in the feedback context.
Motivation:
Currently this tab only shows user reports, which come from the crash report modal and older, deprecated SDKs and endpoints. If a user tries to associate events to their widget feedback, it won't show up in the UF tab
Tasks:
Investigate what field to filter by and how to write the API query
event.contexts.feedback.associatedEventId
event.tags[“associated event id”]
Are there any drawbacks to this? e.g. Performance, data duplication
share a spec/RFC with issues team and get their approval
Query /issues from the UF tab in the frontend, using the query from above task.
Make a FF and start with enabling for replay team only
Return extra fields for isSpam, hasSeen, traceId, replayId, groupId etc. GET method
Implies we should query clickhouse for all data, since these fields aren't available in Postgres. This means we'll include widget feedback, which isn't currently returned.
Response must be backward compatible (include the same fields as current schema)
Add search filters for some/all these fields?
Motivation:
Users are requesting these fields after GA of new feedback.
Like issue details, it may be confusing why we’re not returning widget feedbacks here.
Challenges/cons:
The difference w/issue details is we clearly deprecated this endpoint in the docs, directing users to /issues doc
After updating issue details, we, internally, have no use for this endpoint.
Alternative: we add detailed instructions on how to use /issues in the "List a Project's user feedback" API docs page, and don't do this milestone. We could even remove /user-feedback from docs altogether so users can't get confused.
There’s an Organization, Project (most used) and Group endpoint. To be consistent, we have to update all of them
Tasks:
Determine the search query util to use (see GroupIndexEndpoint’s)
Figure out how to get the current response fields from search response
Decide on the list of new fields, and how to get from search response
Decide on list of search filters and how to parse them
Update each endpoint's code, gated w/a FF, using knowledge from tasks 1-4
Project
Organization
Group
Roll out
Update docs
Follow-ups
Garbage collection: delete user reports after shimming, or make a task to delete periodically.
aliu39
changed the title
Migrate UserReport-related services to Feedback Issues
[Epic] Migrate UserReport-related services to Feedback Issues
Dec 17, 2024
Background info:
Since SDK v8 and the release of the UF widget, there are 2 data formats for feedback. “User reports” in Postgres, and “Feedback issues” in Clickhouse. Feedback issues are a superset of user reports and newer, so all user-facing services should work with feedback issues.
Currently:
![Image](https://private-user-images.githubusercontent.com/159852527/407923630-c0887669-4bbb-45cd-9b06-6fc8fe80407e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDczNzMsIm5iZiI6MTczOTY0NzA3MywicGF0aCI6Ii8xNTk4NTI1MjcvNDA3OTIzNjMwLWMwODg3NjY5LTRiYmItNDVjZC05YjA2LTZmYzhmZTgwNDA3ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxOTE3NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yM2ZhYjdlNzU4MWEzN2U3MmJmYmNlZGM0NDE3MzRmYWFkMjNhOGY5OWE4ZjEyMzBlODNlMWRlZjg3NTVmMTE3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.naxQ37qbdYv6GOGnrOshcGluKbrgXjtOLhGMWDbo31Q)
source
Milestone 1 Issue Details tab
Desired result:
Issue details “User Feedback” tab shows feedback issues associated with the current event, making use of the associatedEventId field in the feedback context.
Motivation:
Currently this tab only shows user reports, which come from the crash report modal and older, deprecated SDKs and endpoints. If a user tries to associate events to their widget feedback, it won't show up in the UF tab
Tasks:
/issues
from the UF tab in the frontend, using the query from above task.Potential follow-ups:
Milestone 2
/user-feedback
endpoints(s) (read path)Desired results:
Return extra fields for isSpam, hasSeen, traceId, replayId, groupId etc. GET method
Motivation:
Challenges/cons:
/issues
doc/issues
in the "List a Project's user feedback" API docs page, and don't do this milestone. We could even remove/user-feedback
from docs altogether so users can't get confused.Tasks:
Follow-ups
Milestone 3: Ongoing work to support a
captureFeedback
API in all SDK platforms.Branched off to
Motivation:
Today Datadog shows 128k old v 7k new (18:1) envelopes in the last week. The majority may be from gaming platforms.
The text was updated successfully, but these errors were encountered: