analytics/test
Karl-Aksel Puulmann a181f3eab3
APIv2: TimeSeries using QueryBuilder, release experimental_session_count (#4305)
* Move fragments module under Plausible.Stats.SQL

* Introduce select_merge_as macro

This simplifies some select_merge calls

* Simplify select_join_fields

* Remove a needless dynamic

* wrap_select_columns macro

* Move metrics from base.ex to expression.ex

* Move WhereBuilder under Plausible.Stats.SQL

* Moduledoc

* Improved macros

* Wrap more code

* select_merge_as more

* Move defp to the end

* include.time_labels parsing

* include.time_labels in result

Note that the previous implementation of the labels from TimeSeries.ex was broken

* Apply consistent function in imports and timeseries.ex

* Remove boilerplate

* WIP: Limited support for timeseries-with-querybuilder

* time:week dimension

* cleanup: property -> dimension

* Make querying with time series work

* Refactor: Move special metrics (percentage, conversion rate) to own module

* Explicitly format datetimes

* Consistent include_imported in special metrics

* Solve week-related crash

* conversion_rate hacking

* Keep include_imported consistent after splitting the query

* Simplify do_decide_tables

* Handle time dimensions in imports cleaner

* Allow time dimensions in custom property queries

* time:week handling continued

* cast_revenue_metrics_to_money

* fix `full_intervals` support

* Handle minute/realtime graphs

* experimental_session_count? with timeseries

This becomes required as we try to include visits from sessions by default

* Support hourly data in imports

* Update bounce_rate in more csv tests

* Update some time-series query tests

* Fix for meta.warning being included incorrectly

* Simplify imported.ex

* experimental_session_count flag removal

* moduledoc

* Split interval and time modules
2024-07-09 14:25:02 +03:00
..
e2e Integrate ingestion monitoring data into instatus (#3515) 2023-11-13 15:11:59 +01:00
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible APIv2: TimeSeries using QueryBuilder, release experimental_session_count (#4305) 2024-07-09 14:25:02 +03:00
plausible_web APIv2: TimeSeries using QueryBuilder, release experimental_session_count (#4305) 2024-07-09 14:25:02 +03:00
priv Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
support update runtime to elixir-1.17.1 and erlang-27.0 (#4255) 2024-06-24 13:22:33 +02:00
workers Always recommend a suitable plan on the choose-plan page (#4222) 2024-06-17 09:25:46 +03:00
test_helper.exs APIv2: TimeSeries using QueryBuilder, release experimental_session_count (#4305) 2024-07-09 14:25:02 +03:00