Conversation
- Added logic to handle cases with and without filters in getMetric, getOverview, and getOverviewBucketed, optimizing SQL queries for session metrics and bounce rate calculations. - Refactored getOutboundLinks to simplify the query structure, focusing on URL counts and last clicked timestamps. - Introduced inner filter statements in getSessions to improve event-level data accuracy while maintaining overall query correctness. - Updated getFilterStatement to support filtering on raw event-level columns, enhancing query efficiency.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughThis PR optimizes analytics performance through client-side lazy-loading of metric sections, enables ClickHouse query logging, refactors server-side aggregations to execute at the database level rather than in application code, and extends filtering capabilities with event-level safety constraints for use in database query CTEs. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can customize the tone of the review comments and chat replies.Configure the |
Summary by CodeRabbit
New Features
Refactor