analytics/test/plausible_web
Karl-Aksel Puulmann 3115c6e7a8
Reducing JOINs in queries (#3966)
* Move experimental_session_count? logic to within query object

* WIP new querying system for deciding what tables to query

* both -> either

* Include sample_percent in both tables

* Remove a hanging TODO

* Allow filtering by visit props on event queries if flag is on

* Make default sessions join more conditional

* Simplify events_join_sessions?

* Add some TODOs

* Fix assignment

* Handle entry/exit page visit props separately from props stored in events table

* Update test which created sessions/events differently from everyone else

* Make query_events private

* Dont filter by session properties on events table if querying sessions and joining in events

* Handle visits, pageviews, events and visitors metrics from other table

* both -> either

* events, pageviews are strictly event metrics

* Add support for (plain) breakdowns deciding which table to use

* Run tests with experimental_reduced_joins as a separate job

Also refactor which tests are run with postgres:15 to reduce number of jobs

* moduledocs for TableDecider

* Fix matrix

* Custom build name

* Move TEST_EXPERIMENTAL_REDUCED_JOINS check

* Handle percentage separately from other metrics

* Remove debug code

* TableDecider tests

* both => sample_percent

* Improve naming

* Simplify code

* Breakdowns retain old behavior if getting metric visitors

* Unify behavior of entry/exit page hostnames with rest

* Fix test naming
2024-04-04 13:54:23 +03:00
..
components/billing Make hello@plausible.io clickable (#3746) 2024-02-01 09:43:21 +01:00
controllers Reducing JOINs in queries (#3966) 2024-04-04 13:54:23 +03:00
live Reapply 3918 (#3940) 2024-03-25 10:36:22 +01:00
plugins/api Plugins API: mark data_domain as nullable in capabilities schema (#3840) 2024-02-28 10:26:01 +01:00
plugs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
views Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
captcha_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
email_test.exs Improve approaching accept_traffic_until e-mail (#3660) 2024-01-02 13:18:51 +01:00