0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
Commit Graph

44 Commits

Author SHA1 Message Date
Tiina Turban
2f6251107e
Enable new properties update for posthog team (#7177) 2021-11-22 11:53:03 +01:00
Michael Matloka
e97c20ad33
Purge PLUGIN_SERVER_ACTION_MATCHING flag (#6358)
* Remove `PLUGIN_SERVER_ACTION_MATCHING` flag

* Fix action bug

* Try to fix mocking
2021-10-11 21:33:48 +02:00
James Greenhill
ed9237f121
Update ulimit and use settings from json in console (#6321) 2021-10-08 00:29:06 +00:00
James Greenhill
417d975b31
Bump ulimit for services on ECS (#6320) 2021-10-07 23:46:11 +00:00
Paolo D'Amico
0470359f1c
Maintain default feature flags behavior on cloud (#5296) 2021-07-30 10:37:29 -07:00
Karl-Aksel Puulmann
42df34418d
Set USING_PGBOUNCER env var everywhere (#5120)
We use it in settings.py to disable server-side cursors, but do not
explicitly set it. Fixing this.
2021-07-14 11:38:47 -07:00
Yakko Majuri
06673114f0
Set PISCINA_ATOMICS_TIMEOUT to 3000 (#5042) 2021-07-08 16:28:03 +02:00
Yakko Majuri
0cf66ed6c5
Set PISCINA_ATOMICS_TIMEOUT (#4997) 2021-07-06 11:09:13 +02:00
PostHog bot
27144478f5
Update plugin server to 0.21.26 (#4809) 2021-06-19 02:40:49 +02:00
Michael Matloka
69afc5abc2
Set PLUGIN_SERVER_ACTION_MATCHING to 0 (#4805) 2021-06-18 15:08:50 +00:00
Michael Matloka
adefe429c4
Set PLUGIN_SERVER_ACTION_MATCHING to 1 (#4664) 2021-06-09 15:29:54 +02:00
Karl-Aksel Puulmann
030529cfb3
Show internal metrics on /instance/status page (#4366)
* Extract function for capture

* Add capability to capture internal metrics

- This is behind an environment variable, we'll turn this on by default
on clickhouse-based installation.
- A special Org/Team gets created for this lazily, which is not accessible for
anyone. This makes avoiding issues with stats/billing/properties and easier.

* Capture some useful metrics into posthog

* Set up an unique constraint for for_internal_metrics organization

This avoids some nasty race conditions

* internal_metrics fixes

* Extract component OverviewTab

* New tabbing system for system status page

* Embed ClickhouseTab

* Generate a dashboard for internal metrics on demand

* More metrics

* Add more internal metrics, add tests

* Fix migration files

* Adjust copy

* Update task definitions

* Fix a typing issue

* Rename a component

* Migration fixup

* Try reset patch after test ends

* Clear lru_cache between tests
2021-05-20 13:42:39 +03:00
Michael Matloka
7247039b12
Remove ENABLE_PERSISTENT_CONSOLE from prod task def (#4259) 2021-05-07 14:31:51 +00:00
Marius Andra
2f38e746bb
this time it will work (#4244) 2021-05-07 00:07:20 +02:00
Marius Andra
58469e228d
Enable persistent console (#4226) 2021-05-06 18:15:14 +02:00
Marius Andra
7c9c3a41cb
Disable aurora again (#4232) 2021-05-06 14:07:33 +00:00
Marius Andra
a54df23ec9
add back graphile job queue (#4230) 2021-05-06 15:16:38 +02:00
Marius Andra
c08a9ea6e5
remove graphile queue so new plugin server could run (#4208) 2021-05-04 18:08:18 +02:00
James Greenhill
b7bc93cfac
Enable cleanup of SSM Task that enables us to exec into containers on ecs (#4096) 2021-05-04 14:22:20 +00:00
James Greenhill
e84c57e6a6
Add dbq connection string env var secret references (#4194)
* Add dbq connection string env var secret references

* add graphile as the default job queue

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-05-04 14:42:25 +02:00
Marius Andra
b3268b6cf4
add 5min staleness restart check to plugin server (#4118) 2021-04-27 16:15:15 +02:00
Marius Andra
2ddae07926
Don't use plugin-server restart loop in production _correctly_ (#4119)
* Revert "Don't use restart loop in production (#4013)"

This reverts commit 7451911fab.

* Add "--no-restart-loop" as a separate arg element

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-27 14:12:30 +00:00
Karl-Aksel Puulmann
7451911fab
Don't use restart loop in production (#4013)
If plugin server is misconfigured this makes plugin server crash loudly
instead of seeming to be healthy.

Related issue: https://github.com/PostHog/vpc/issues/39
2021-04-27 15:39:14 +02:00
PostHog bot
0dee1bd194
Update plugin server to 0.16.13 (#4004) 2021-04-15 19:01:17 +02:00
PostHog bot
0e226b05fc
Update plugin server to 0.16.11 (#3999) 2021-04-15 17:58:29 +02:00
Michael Matloka
d0292cd670
Give plugin server ECS task 16 GB instead of 8 GB (#3995) 2021-04-15 14:15:35 +00:00
Paolo D'Amico
433d560b23
Fix proxy config (#3654) 2021-03-23 13:12:06 -07:00
Michael Matloka
941cfb386c
Revert "Use plugin-server container in containerized deploys" (#3516)
* Revert "Use plugin-server container in containerized deploys (#3515)"

This reverts commit 6fb295ed51.

* Update docker-compose.ch*.yml
2021-03-01 13:43:43 +01:00
Michael Matloka
6fb295ed51
Use plugin-server container in containerized deploys (#3515) 2021-03-01 12:56:33 +01:00
PostHog bot
d660755a50
Update plugin server to 0.10.1 (#3481)
* Update plugin server to 0.10.1

* Remove PLUGIN_SERVER_INGESTION for plugins tasks/images

Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-02-25 14:36:41 +01:00
Marius Andra
b48f70a741
Plugin server 0.9.1 (#3376)
* upgrade plugin server to 0.9.1

* remove KAFKA_BATCH_PARALELL_PROCESSING from ecs that had a typo and is now true by default
2021-02-18 11:28:03 +01:00
Marius Andra
d688867854
Enable plugin server parallel ingestion (#3316) 2021-02-11 19:31:22 +01:00
Paolo D'Amico
7c4b7eb811
Cloud billing trial period & free plan (#3259) 2021-02-11 18:42:39 +01:00
Marius Andra
429f3e50dc
filp PLUGIN_SERVER_INGESTION on (#3206) 2021-02-04 20:25:59 +01:00
Marius Andra
d7e29c3c86
add clickhouse connection envs for plugin server (#3201) 2021-02-04 16:34:52 +01:00
Marius Andra
6efdb8efa6
revert plugins ECS definition to use plugin-server from ./plugins/package.json (#3177) 2021-02-03 12:21:49 +01:00
Michael Matloka
257d596038
Use KAFKA_HOSTS instead of KAFKA_URL in ECS dockerized plugin server (#3054) 2021-01-22 15:18:16 +01:00
Michael Matloka
efe8870c85
Fix plugin server task definition rendering (#3053) 2021-01-22 15:01:25 +01:00
Michael Matloka
56de9e9226
Run independently Dockerized (#3052) 2021-01-22 14:47:06 +01:00
Michael Matloka
3c13a3ef9c
Simplify plugin server service definitions (#2929) 2021-01-13 11:46:56 +01:00
Marius Andra
606525644e
Add deployment environment variables (#2874)
* add deployment env to track instances

* Rename Production ECS

Co-authored-by: Karl-Aksel Puulmann <oxymaccy@gmail.com>
2021-01-11 13:25:40 +01:00
Paolo D'Amico
1ef890fbf2
add missing env vars to plugins & worker tasks (#2869) 2021-01-06 18:17:45 +01:00
James Greenhill
2f9f3fe05a
Fixes for differences between terraform and GA task-definition (#2786) 2020-12-15 18:34:01 -08:00
Marius Andra
098343cbee
Deploy Plugins to AWS (#2755)
* create plugins task

* add plugins to container

* remove env vars that are probably not needed

* bump size of node for plugins

* don't run plugin server on worker

Co-authored-by: James Greenhill <fuziontech@gmail.com>
2020-12-15 18:10:00 -08:00