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_web/controllers/api
Adam Rutkowski 356575ef78
Gatekeep ingestion pipeline (#2472)
* Update Sites.Cache

So it's now capable of refreshing most recent sites.
Refreshing a single site is no longer wanted.

* Introduce Warmer.RecentlyUpdated

This is Sites Cache warmer that runs only for
most recently updated sites every 30s.

* Validate Request creation early

* Rename RateLimiter to GateKeeper and introduce detailed policies

* Update events API tests - a provisioned site is now required

* Update events ingestion tests

* Make limits visible in CRM Sites index

* Hard-deprecate DOMAIN_BLACKLIST

* Remove unnecessary clause

* Fix typo

* Explicitly delegate Warmer.All

* GateKeeper.allwoance => GateKeeper.check

* Instrument Sites.Cache measurments

* Update send_pageview task to output response headers

* Instrument ingestion pipeline

* Credo

* Make event telemetry test a sync case

* Simplify Request.uri/hostname handling

* Use embedded schema, apply action and rely on get_field
4 years ago
..
external_controller.ex Gatekeep ingestion pipeline (#2472) 4 years ago
external_sites_controller.ex Improve test coverage (#2392) 4 years ago
external_stats_controller.ex add upper bound to limit parameter (#2226) 4 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Update the internal /sites api to paginate results (#1824) 5 years ago
paddle_controller.ex Remove old Sentry code 6 years ago
stats_controller.ex Add support for intervals (#1574) 4 years ago