-
Notifications
You must be signed in to change notification settings - Fork 198
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
Sessions Feedback #2730
base: main
Are you sure you want to change the base?
Sessions Feedback #2730
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@chitalian @maamalama I feel like this is good enough to merge now, filters is i think big enough to create a separate pr on, and it will probably take longer than i expected 🥲 |
3f8404f and 199ecca implements session feedback
Screen.Recording.2024-10-09.at.11.09.24.am.mov |
const query = ` | ||
SELECT request_id | ||
FROM request_response_rmt | ||
WHERE properties['Helicone-Session-Id'] = '${sessionId}' | ||
ORDER BY request_created_at ASC | ||
LIMIT 1 | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also select for the organzation_id = the user org?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually can we select from postgres instead? We have better indexes on the JSONB column for custom properties and clickhouse is notoriously bad at point queries
LIMIT 1 | ||
`; | ||
|
||
console.log({ query }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and the other console logs below too
…2712) * fix(cache): ensure cache tabs hold selected state * fix(11149993052): auto linting --------- Co-authored-by: use-tusk[bot] <144006087+use-tusk[bot]@users.noreply.github.com> Co-authored-by: Justin Torre <[email protected]>
…dal (#2736) Co-authored-by: use-tusk[bot] <144006087+use-tusk[bot]@users.noreply.github.com>
Co-authored-by: use-tusk[bot] <144006087+use-tusk[bot]@users.noreply.github.com>
* speed up jawn dev server * Remove time logging in genTypes.py
Screen.Recording.2024-10-08.at.4.03.13.pm.mov