analytics/lib/mix/tasks
hq1 6af80dd246
Filter by hostnames (#3963)
* CH Migration: exit/entry hostnames in sessions_v2

* Leave only exit_page_hostname, we already record hostnames

* Use ClickHouse DDL in favour of ecto so that cluster is included

* Compress with ZSTD(3)

* Expose Hostname filter in the dashboard dropdown

* Add `exit_page_hostname` to ClickHouse `sessions_v2` schema

* Start tracking hostname changes in sessions

* Implement hostname filter suggestions

* Enable filtering by `event:hostname`

* Add tests for filtering by hostnames

* Ensure filter suggestions work for exit pages too

* Allow overriding hostnames with `send_pageview` mix task

* Remove `:window_time_on_page` flag

It seems that we can remove it after all?

* Initialize `experimental_hostname_filter` query parameter

* Rewrite cache store behaviour with regards to session hostnames

* Work around inconsistent session merging

So that `populate_stats` can get closer to actual ingestion

* Improve top stats test

* Make it possible to filter sessions by entry/exit hostnames

* Update pages tests

* Expose `experimental_hostname_filtering` temporarily in the UI

* Untested yet: also apply experimental filtering to sources

* Introduce `hostname_filter` feature flag

* Format

* Test top sources with hostname filter + experimental flag
2024-04-04 10:48:30 +02:00
..
cancel_subscription.ex Refactor enterprise plan upgrade and change-plan actions (#3397) 2023-10-10 20:35:17 +03:00
clean_clickhouse.ex Switch to new clickhouse adapter (ch/chto) (#2733) 2023-03-21 09:55:59 +01:00
create_free_subscription.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
download_country_database.ex Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
generate_referrer_favicons.ex Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
pull_sandbox_subscription.ex CRM improvements (#1903) 2022-05-27 14:45:25 +03:00
send_pageview.ex Filter by hostnames (#3963) 2024-04-04 10:48:30 +02:00