Skip to content
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

APIv2: Aggregates, timeseries, conversion_rate, hostname #4251

Merged
merged 38 commits into from
Jun 28, 2024

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Jun 20, 2024

Changes

  • Aggregates now use new QueryBuilder
  • Limited timeseries support in APIv2 - everything works, but results are only returned in bucket they're active in
  • conversion_rate and group_conversion_rate metrics support
  • Imports-related changes to support apiv2 - next PR will re-simplify
  • Goals are preloaded into Query object for validation purposes
  • event:goal breakdowns support. Now a single query and system is more flexible for renaming goals.
  • event:page breakdows support. QueryOptimizer.split now splits query to two - sessions query uses visit:entry page
  • fixed the memory leak around event:props:x creating symbols

lib/plausible/stats/filters/query_parser.ex Outdated Show resolved Hide resolved
lib/plausible/stats/filters/query_parser.ex Outdated Show resolved Hide resolved
lib/plausible/stats/filters/query_parser.ex Outdated Show resolved Hide resolved
lib/plausible/stats/filters/query_parser.ex Outdated Show resolved Hide resolved
lib/plausible/stats/filters/query_parser.ex Show resolved Hide resolved
lib/plausible/stats/filters/query_parser.ex Show resolved Hide resolved
lib/plausible/stats/filters/query_parser.ex Outdated Show resolved Hide resolved
lib/plausible/stats/sql/query_builder.ex Outdated Show resolved Hide resolved
Base automatically changed from external-stats-new-querying to master June 25, 2024 06:28
@macobo macobo marked this pull request as ready for review June 25, 2024 06:30
@macobo macobo added the deploy-to-staging Special label that triggers a deploy to a staging environment label Jun 27, 2024
@macobo macobo merged commit 2eeaf7a into master Jun 28, 2024
13 checks passed
@macobo macobo deleted the apiv2-aggregates-tests branch June 28, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-to-staging Special label that triggers a deploy to a staging environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants