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/test
Adam Rutkowski 867dad6da7
Implement ingest counters (#2693)
* Clickhouse migration: add ingest_counters table

* Configure ingest counters per MIX_ENV

* Emit telemetry for ingest events with rich metadata

* Allow building Request.t() with fake now() - for testing purposes

* Use clickhousex branch where session_id is assigned to each connection

* Add helper function for getting site id via cache

* Add Ecto schema for `ingest_counters` table

* Implement metrics buffer

* Implement buffering handler for `Plausible.Ingestion.Event` telemetry

* Implement periodic metrics aggregation

* Update counters docs

* Add toStartOfMinute() to ordering key

* Reset the sync connection state in `after` clause

* Flush counters on app termination

* Use separate Repo with async settings enabled at config level

* Switch to clickhouse_settings repo root config key

* Add AsyncInsertRepo module
4 years ago
..
e2e Make checkly alert after 5 minutes of downtime (#2599) 4 years ago
load Fix script path for k6 load test (#2068) 4 years ago
plausible Implement ingest counters (#2693) 4 years ago
plausible_web Add visits metric under a feature flag (#2687) 4 years ago
priv Replace Geolix with Locus (#2362) 4 years ago
support Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
workers Fail the CI if tests emit log errors/warnings (#2694) 4 years ago
test_helper.exs Don't rely on Mix.env check in runtime (#2703) 4 years ago