forked from plausible/analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APIv2: Aggregates, timeseries, conversion_rate, hostname (plausible#4251
) * Add some aggregates tests * Port aggregates tests to do with filtering * Session metrics can be queried with event: filters * Solve a typo * Update a validation message * Add validations for views_per_visit * Port an aggregation/imports test * Optimize time dimension, add tests * Add first timeseries test, update parsing tests * Docs for SQL.Expression * Test timeseries more * Allow time explicitly in order_by * Add multiple breakdowns test * Refactor QueryOptimizer not to care about time dimension placement in dimensions array * Add test breaking down by event:hostname * Add hostname filtering logic to QueryOptimizer, unblock some tests * WIP: Breakdown by goal * conversion rate logic for query api * Update more tests * Set default order_by * dimension_label * preloaded_goals in tests * inline load_goals * Use Date functions over Timex * Comments * is_binary * Remove special form used in tests * Fix defmodule * WIP: Fix memory leak, event:page breakdown logic * Enable more tests, fix for group_conversion_rate without explicit visitors metric * Re-enable a partially commented test * Re-enable a partially commented test * Get last test passing * No imports order_by in apiv2 * Add a TODO * Remove redundant Util call * Update aggregate.ex * Remove problematic test
- Loading branch information
Showing
17 changed files
with
2,906 additions
and
1,402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.