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/plausible/site
Adam Rutkowski a680a86f99 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
..
admin_test.exs Google APIs integration improvements (#2358) 4 years ago
cache_test.exs Implement ingest counters (#2693) 4 years ago
gate_keeper_test.exs Gatekeep ingestion pipeline (#2472) 4 years ago
schema_test.exs [Sentry APP-189] Fallback to current date in all time parsing (#2277) 4 years ago
site_removal_test.exs Delay stats deletions (#2632) 4 years ago
sites_test.exs Google APIs integration improvements (#2358) 4 years ago