You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible
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
3 years ago
..
auth Bugfix: available features for expired trials, no subscriptions (#3740) 3 years ago
billing `String.to_atom/1` is safe to do at compile-time (#3813) 3 years ago
cache Reapply #3878 + bugfix hit rate tracking (#3891) 3 years ago
data_migration Fix dry run mode in `DataMigration.SiteImports` (#3965) 3 years ago
event Flush Clickhouse buffers faster by encoding early (#3623) 3 years ago
funnel Add small build option (#3536) 3 years ago
goal Small build updates (#3546) 3 years ago
google Populate new columns in imports and exports (#3969) 3 years ago
helpers Small build updates (#3546) 3 years ago
imported Populate new columns in imports and exports (#3969) 3 years ago
ingestion Filter by hostnames (#3963) 3 years ago
open_telemetry Make OpenTelemetry sampler ratio configurable via env (#3514) 3 years ago
plugins/api Add `GET /capabilities` to Plugins API (#3808) 3 years ago
s3 Add csv importer (#3795) 3 years ago
sentry Update Sentry (#3843) 3 years ago
session Filter by hostnames (#3963) 3 years ago
shield Reapply 3918 (#3940) 3 years ago
shields Reapply 3918 (#3940) 3 years ago
site Reapply #3878 + bugfix hit rate tracking (#3891) 3 years ago
stats Reducing JOINs in queries (#3966) 3 years ago
telemetry Add metrics to ingestion pipeline (#3927) 3 years ago
application.ex Reapply 3918 (#3940) 3 years ago
async_insert_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
cache.ex Add metrics to ingestion pipeline (#3927) 3 years ago
cldr.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
clickhouse_event_v2.ex Filter by hostnames (#3963) 3 years ago
clickhouse_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
clickhouse_session_v2.ex Filter by hostnames (#3963) 3 years ago
data_migration.ex Mutation to populate event session columns (#3844) 3 years ago
debug_replay_info.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
exports.ex Populate new columns in imports and exports (#3969) 3 years ago
geo.ex Dockerfile and co updates (#3811) 3 years ago
goals.ex Small build updates (#3546) 3 years ago
http_client.ex Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
import_deletion_repo.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
imported.ex Improve import stats toggle and `with_imported` flag computation (#3960) 3 years ago
ingest_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
mailer.ex Fix and refactor invitation logic (#3376) 3 years ago
migration_utils.ex Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802) 3 years ago
open_telemetry.ex Implement trace ID ratio-based sampling for OpenTelemetry (#3499) 3 years ago
pagination.ex Implement new sites view (#3463) 3 years ago
prom_ex.ex Implement new sites view (#3463) 3 years ago
props.ex Limit Custom Properties access in Stats API (#3670) 3 years ago
purge.ex Implement UI for multiple imports (#3727) 3 years ago
rate_limit.ex rm Hammer (#3571) 3 years ago
repo.ex Implement new sites view (#3463) 3 years ago
s3.ex Include domain and dates in zip archive filename (#3921) 3 years ago
shields.ex Reapply 3918 (#3940) 3 years ago
site.ex Improve import stats toggle and `with_imported` flag computation (#3960) 3 years ago
sites.ex Include domain and dates in zip archive filename (#3921) 3 years ago
stats.ex Add small build option (#3536) 3 years ago
themes.ex Adds dark mode to entire dashboard (#467) 6 years ago
timezones.ex Shield: Country Rules (#3828) 3 years ago
users.ex Bugfix: available features for expired trials, no subscriptions (#3740) 3 years ago