analytics/test
Karl-Aksel Puulmann 0114689779
fix(TimeSeries): Work around weird time zones (#4337)
* Refactor Expression.dimension to accept q

* Handle quarter- and half-hour timezones

Previously APIv2 output didn't start at a full hour for these time zones
and main graph was blank

The core reasoning is that ClickHouse `timeSlots` is not time-zone
aware and works off of unix epoch - meaning that in time zones which
have an offset of 5:45 the "hours" reported would start at minute :45.

The fix is kind of silly - we now divide each hour into 4 and handle
things that way.

Related basecamp issue: https://3.basecamp.com/5308029/buckets/36789884/card_tables/cards/7590936581

* Fix test typo
2024-07-11 11:48:16 +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: Bugfixes to location filtering (#4321) 2024-07-10 11:34:24 +03:00
plausible_web fix(TimeSeries): Work around weird time zones (#4337) 2024-07-11 11:48:16 +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