Frank Hamand
1b07dec7c6
fix: Switch back to direct routing instead of via route ( #21058 )
...
Switch back to direct routing instead of via route
We're getting segfault errors and this is one of the few potential causes
2024-03-20 20:48:55 +00:00
Frank Hamand
a22c8a6e50
fix: Revert healthcheck change ( #21054 )
...
Revert healthcheck change
We suspect this is causing pods to come up before they are ready to serve traffic
2024-03-20 17:11:39 +00:00
Bianca Yang
485fd52607
feat: Experiment with language on billing pages in app ( #20567 )
...
* toggle upgrade language depending on flag value
* forgot some local changes
* update credit card case language
* Update UI snapshots for `chromium` (1)
* add event to record subscription status
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* add tests
* remove length check
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* make common button component
* some more small changes
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `webkit` (2)
* remove extraneous files
* remove optional chaining
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `webkit` (2)
* remove test...rename event
* Update UI snapshots for `chromium` (1)
* didn't save before commiting
* undo changes to billing cypress test
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* finally get cypress to work!
* small fix to test
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* remove from paygate mini
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* remove paygate test
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* remove extraneous files
* remove files!
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* update tests
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2024-03-18 12:03:29 -07:00
Frank Hamand
6f67b75657
fix: Add missing underscore to healthcheck routes ( #20926 )
...
Add missing underscore to healthcheck routes
2024-03-14 13:46:26 +00:00
Frank Hamand
4efb80aa7e
Add missing healthcheck routes to app ( #20923 )
...
* Add missing healthcheck routes to app
* Switch healthz to _health
2024-03-14 11:50:15 +00:00
Frank Hamand
466c417e2b
fix: Split healthcheck to separate nginx unit app ( #20917 )
...
Split healthcheck to separate nginx unit app
When posthog is under load the healthcheck can stop responding.
Split it off into a separate app so it has a dedicated thread to handle it
2024-03-14 09:48:58 +00:00
Frank Hamand
8daa09a20b
fix: Set nginx unit max body size to 21MiB ( #20383 )
...
* Set nginx unit max body size to 21MiB
We expect up to 20M for session replays. Our nginx setup has 20M as the
limit and the default for nginx unit inadvertently dropped it to 8M
* Fix unit config
2024-02-16 15:18:14 +00:00
Frank Hamand
48a30c9b11
chore: Add process requests limit to nginx unit ( #19136 )
...
Add process requests limit to nginx unit
Easy fix for memory leaks...
2023-12-07 10:46:28 +00:00
Frank Hamand
7a76616f3c
chore: Increase unit process to 4 ( #18910 )
...
Increase unit process to 4
latency went up but resources went down with unit, run more processes
2023-11-27 14:59:27 +00:00
Frank Hamand
c0b5061520
feat: Use single entrypoint for both images but detect which to run ( #18883 )
...
Make docker-server binary fixed between unit/gunicorn images
We want it to be a full drop-in replacement
2023-11-27 10:06:22 +00:00
Marius Andra
06e993818d
feat(apps): transpile via django ( #18201 )
2023-11-07 21:56:59 +00:00
Frank Hamand
773e20d771
feat: Add prometheus metrics to nginx unit ( #18387 )
...
* Add prometheus metrics to nginx unit
* Run multiprocess prom collector in unit
* Refactor unit metrics to use prom client properly
* Ruff
2023-11-07 15:12:03 +00:00
Frank Hamand
3ef42ddd38
feat: Add docker image that uses nginx unit instead of gunicorn ( #17573 )
...
* Add docker image that uses nginx unit instead of gunicorn
🦄 🔫
* Add unit build to CI
* Fix duplicate id
* try 3.11
* Only build for amd64
need python3.11 for unit image on arm
2023-09-21 16:50:19 +01:00