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/lib/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
..
cache Gatekeep ingestion pipeline (#2472) 4 years ago
admin.ex Gatekeep ingestion pipeline (#2472) 4 years ago
cache.ex Implement ingest counters (#2693) 4 years ago
custom_domain.ex Remove unused custom domain code 5 years ago
gate_keeper.ex Gatekeep ingestion pipeline (#2472) 4 years ago
google_auth.ex Configure Google Search Console property 7 years ago
imported_data.ex CRM: Expose rate limiting fields per site (#2429) 4 years ago
membership.ex Allow admins to grant admin rights (#2216) 4 years ago
monthly_report.ex Add and remove recipients for email reports (#28) 7 years ago
removal.ex Delay stats deletions (#2632) 4 years ago
shared_link.ex Add unique index to shared link name 6 years ago
spike_notification.ex Do not allow duplicate spike notification to be created 6 years ago
weekly_report.ex Add and remove recipients for email reports (#28) 7 years ago