analytics/test/support
Adam Rutkowski 8f85b110aa
Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661)
* Configure ingest repo access/pool size

If I'm not mistaken 3 is a sane default, the only
inserts we're doing are:

  - session buffer dump
  - events buffer dump
  - GA import dump

And all are serializable within their scopes?

* Add IngestRepo

* Start IngestRepo

* Use IngestRepo for inserts

* Annotate ClickhouseRepo as read_only

So no insert* functions are expanded

* Update moduledoc

* rename alias

* Fix default env var value so it can be casted

* Use IngestRepo for migrations

* Set default ingest pool size from 3 to 5

in case conns are restarting or else...

* Ensure all Repo prometheus metrics are collected
2023-02-12 17:50:57 +01:00
..
clickhouse_setup.ex Adds Time on Page metric to Top Pages report (#1007) 2021-05-18 15:14:33 +03:00
conn_case.ex Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
data_case.ex Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
factory.ex Seed database with pageviews (#2449) 2022-11-17 21:46:42 -03:00
google_api_mock.ex Referrer drilldown (#252) 2020-07-30 11:18:28 +03:00
paddle_api_mock.ex do not show invoices for free subscription (#2249) 2022-09-22 17:25:24 -03:00
test_utils.ex Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 2023-02-12 17:50:57 +01:00