Commit graph

156 commits

Author SHA1 Message Date
Dotan Simha
7106876c9e
another cycle of telemetry fixes (#4453) 2024-04-08 13:08:55 +03:00
Dotan Simha
d16a69ab05
fix telemetry filters (#4447) 2024-04-07 13:27:33 +03:00
Dotan Simha
3a959c650d
Disable telemetry for usage service (#4446) 2024-04-07 13:02:39 +03:00
Dotan Simha
86cbe95bd2
distributed tracing (#4219) 2024-04-07 11:57:03 +03:00
Dotan Simha
59390fd909
Fix resource limits for envoy (#4346) 2024-03-26 10:18:00 +02:00
Dotan Simha
05e41f46b6
Revert "chore(deps): update helm release contour to v17.0.1" (#4335) 2024-03-25 16:27:18 +02:00
renovate[bot]
975f4b6247
chore(deps): update helm release contour to v17.0.1 (#4325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 08:50:47 +02:00
Kamil Kisiela
21ef4f0df4
Set schema-service's memory limit to 1GB (#4272) 2024-03-18 16:52:25 +01:00
Kamil Kisiela
10ed2db693
Revert "chore(deps): update helm release opentelemetry-collector to v0.83.1" (#4268) 2024-03-18 11:24:29 +01:00
renovate[bot]
24d38b327e
chore(deps): update helm release contour to v17 (#4260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-17 09:23:11 +02:00
renovate[bot]
78caaf570a
chore(deps): update helm release opentelemetry-collector to v0.83.1 (#4257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-17 09:03:57 +02:00
Dotan Simha
95025ebf24
Full type-safe for Helm charts in Pulumi deployment code (#4205) 2024-03-13 12:17:52 +02:00
renovate[bot]
630efee601
chore(deps): update helm release contour to v16 (#4204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 10:19:50 +02:00
renovate[bot]
df062a9ba0
chore(deps): update helm release vector to v0.31.1 (#4195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 10:16:45 +02:00
renovate[bot]
ce2a89e259
chore(deps): update helm release contour to v15.6.0 (#4159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:49:23 +02:00
Dotan Simha
8366645bf2
adjustments for slow startupProbe in deployments (#4146) 2024-03-04 13:54:00 +00:00
Dotan Simha
df0310dce6
Refactor deployment code (#4138) 2024-03-04 13:56:12 +01:00
Dotan Simha
ff14f7ddb9
Use Sentry to monitor K8s errors instead of Botkube and fixed K8s probes (#4108) 2024-02-29 15:41:57 +00:00
renovate[bot]
de5c39c40f
chore(deps): update helm release vector to v0.31.0 (#4036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 17:22:56 +02:00
renovate[bot]
830967ba86
chore(deps): update helm release contour to v15 (#3489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 14:24:10 +02:00
renovate[bot]
e70e3e385f
chore(deps): update helm release vector to v0.30.0 (#3738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 09:49:31 +02:00
renovate[bot]
157a8134e3
chore(deps): update helm release vector to v0.29.0 (#3416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-22 13:26:18 +02:00
renovate[bot]
f118726584
chore(deps): update helm release contour to v14.2.4 (#3432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-22 10:52:02 +02:00
renovate[bot]
2242cae40b
chore(deps): update helm release contour to v14 (#3378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 13:50:25 +02:00
renovate[bot]
3b17e68852
chore(deps): update helm release vector to v0.28.0 (#3351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 11:48:49 +00:00
Dotan Simha
72f59267a1
prettier v3 and apply fixes to existing files (#3279) 2023-11-07 07:14:57 +00:00
renovate[bot]
98cb61ca3d
chore(deps): update helm release contour to v13.2.0 (#3221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 16:11:52 +02:00
renovate[bot]
83c4d0218a
chore(deps): update helm release vector to v0.27.0 (#3222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 16:05:10 +02:00
renovate[bot]
4e2483bde1
chore(deps): update helm release contour to v13.1.5 (#3155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 13:34:09 +03:00
renovate[bot]
a2087bb7b4
chore(deps): update helm release vector to v0.26.0 (#2916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 12:53:03 +03:00
Dotan Simha
ccd0f7406c
Revert pulumi/cloudflare upgrade (#2969) 2023-09-27 10:16:21 +03:00
Dotan Simha
28ef158efb
Fix metrics server resource allocation (#2955) 2023-09-26 15:13:00 +03:00
renovate[bot]
abba794763
chore(deps): update helm release contour to v13 and also update Pulumi dependencies (#2954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-09-26 12:57:40 +02:00
renovate[bot]
5b1298de99
chore(deps): update helm release contour to v12.6.4 (#2914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 13:15:31 -07:00
Dotan Simha
ced56449f8
Implement topologySpreadConstraints for K8s deployments (#2824) 2023-09-16 17:33:28 -07:00
Kamil Kisiela
94574b295d
Add worker analytics bindings (#2817) 2023-09-14 10:30:36 +00:00
Kamil Kisiela
a8543adf71 Fix input of debug_dropped in vector 2023-09-06 12:31:59 +02:00
Kamil Kisiela
b5c6a4101a
Drop envoy logs when they fail at remap stage (#2804) 2023-09-06 12:15:25 +02:00
Kamil Kisiela
c4c5879e94
Retry requests to /usage when it is not ready (#2792) 2023-09-04 09:41:06 +02:00
Kamil Kisiela
0ae6968294
ClickHouse storage size and performance improvements (#2712) 2023-08-28 13:03:40 +00:00
Kamil Kisiela
1cc85d1550
Convert cf broker to ESM (#2678) 2023-07-27 12:28:10 +00:00
Kamil Kisiela
7c89f7a310
Optional s3_session_token variable and remove setting region to auto (#2674)
Co-authored-by: Saurav Tapader <tapaderster@gmail.com>
2023-07-27 11:34:29 +00:00
renovate[bot]
9763353a55
chore(deps): update helm release contour to v12.2.0 (#2503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-23 11:59:53 +03:00
Laurin Quast
2e2a5f9439
use postgres image for database cleanup job (#2606)
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-07-17 11:26:02 +00:00
Kamil Kisiela
d33432e178
Update Vector from 0.20.1 to 0.22.1 (#2551) 2023-06-30 12:51:19 +02:00
Dotan Simha
1648e4377c
Remove unused hive-police worker (#2531) 2023-06-27 12:13:40 +02:00
renovate[bot]
54137faba3
chore(deps): update helm release contour to v12 (#2248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 07:48:49 +00:00
renovate[bot]
b641413add
chore(deps): update helm release contour to v11.3.2 (#2182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 20:10:52 +03:00
renovate[bot]
c8e18a6a6b
chore(deps): update helm release contour to v11.3.1 (#2124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 10:25:46 +03:00
renovate[bot]
d07e54bfc1
chore(deps): update helm release opentelemetry-collector to v0.54.1 (#2064)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 09:37:20 +03:00
renovate[bot]
e979669bd8
chore(deps): update helm release opentelemetry-collector to v0.53.1 (#2048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:09:23 +03:00
Kamil Kisiela
9f20bee8ef
Revert "chore(deps): update helm release vector to v0.21.0" (#2020) 2023-04-13 13:08:50 +00:00
renovate[bot]
1192fb8ecc
chore(deps): update helm release vector to v0.21.0 (#1996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-13 11:49:03 +03:00
renovate[bot]
01e62a0c20
chore(deps): update helm release contour to v11.1.3 (#1989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 18:43:56 +03:00
renovate[bot]
dd7133200b
chore(deps): update helm release opentelemetry-collector to v0.53.0 (#1954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-09 09:33:43 +03:00
renovate[bot]
581d27a013
chore(deps): update helm release opentelemetry-collector to v0.52.0 (#1939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 06:41:46 +00:00
renovate[bot]
15315ac6ff
chore(deps): update helm release contour to v11.1.2 (#1909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-02 11:08:13 +03:00
renovate[bot]
a596bc7d48
chore(deps): update helm release opentelemetry-collector to v0.51.2 (#1888)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-01 14:39:37 +03:00
Dotan Simha
5cc676c969
Adjust terminationGracePeriodSeconds, Botkube config and K8s probes (#1866) 2023-03-28 13:01:59 +03:00
renovate[bot]
15f61a6108
chore(deps): update helm release opentelemetry-collector to v0.51.1 (#1844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-26 04:24:41 +03:00
renovate[bot]
189f8396c1
chore(deps): update helm release opentelemetry-collector to v0.51.0 (#1802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 04:25:54 +02:00
renovate[bot]
3958d048cc
chore(deps): update helm release contour to v11.1.1 (#1771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 05:41:02 +02:00
renovate[bot]
38aab40b3b
chore(deps): update helm release contour to v11.1.0 (#1757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-18 06:43:40 +02:00
renovate[bot]
ddab8b3bbd
chore(deps): update helm release opentelemetry-collector to v0.50.1 (#1728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 06:11:41 +02:00
renovate[bot]
622c2f577f
chore(deps): update helm release contour to v11.0.4 (#1729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 06:04:02 +02:00
Dotan Simha
5e95e03a5c
Revert "fix cf config flags" (#1720) 2023-03-14 09:17:28 +01:00
renovate[bot]
161cdf515a
chore(deps): update helm release opentelemetry-collector to v0.50.0 (#1689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-03-14 05:25:32 +00:00
renovate[bot]
62813c1e24
fix(deps): update dependency @pulumi/cloudflare to v5 (#1714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-03-14 04:44:55 +00:00
Dotan Simha
141deecada
update botkube config to latest and fix configs (#1701) 2023-03-13 11:52:54 +00:00
renovate[bot]
756d3acb4a
chore(deps): update helm release vector to v0.20.1 (#1532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 07:07:33 +02:00
renovate[bot]
e024277473
chore(deps): update helm release contour to v11 (#1535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-03-13 01:43:45 +00:00
Dotan Simha
196bede915
Fix how Renovate identify dependencies inside code files (#1687) 2023-03-12 12:02:30 +00:00
Dotan Simha
50788323d8
fix renovate config and extract versions from files under deployment dir (#1521) 2023-02-28 08:07:45 +02:00
Kamil Kisiela
1c7d6d9a1a
Push logs from Broker Worker to our Loki endpoint (#1479) 2023-02-24 14:29:39 +00:00
Laurin Quast
162bda92d9
feat: use s3 bucket for validating CDN access tokens (#1143) 2023-01-26 16:36:49 +01:00
Laurin Quast
a97be5729d
add and track new analytics method (#1130) 2023-01-25 13:22:37 +01:00
Kamil Kisiela
da5f291277
Move docker-related files to docker directory (#1116) 2023-01-24 18:15:24 +00:00
Dotan Simha
44924b249b
Drop build-local scripts, build Workers for all targets, adjust turbo cache (#1105) 2023-01-23 17:44:53 +02:00
Dotan Simha
06c694215f
Allow to force rerun migrations jobs and allow to clear db as part of deployment (#1090) 2023-01-21 19:43:18 +00:00
Kamil Kisiela
f0af9f2e67
Use ClickHouse Cloud for READ operations and drop legacy tables (#1031) 2023-01-17 11:45:09 +01:00
Dotan Simha
7c84107e9f
Fixes for production issues with deployed pulumi (#941) 2023-01-02 17:14:28 +00:00
Dotan Simha
e55e168f5d
Upgrade Contour to latest version (#940) 2023-01-02 13:38:20 +00:00
Dotan Simha
4d2ec4bc8a
Upgrade Redis to v7 and upgrade BullMQ to latest (#937) 2023-01-02 13:05:23 +02:00
Dimitri POSTOLOV
bd5496ebff
[🔧 ESLint] several different rules fixes (#737) 2022-12-28 21:38:03 +01:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +01:00
Dotan Simha
1171b6fa34
Adjustments to Pulumi code to support more pre-prod envs (#845) 2022-12-22 14:00:10 +02:00
Dotan Simha
69ff4d3a24
Replace tgz artifacts with Docker images and refactor all CI pipelines (#808) 2022-12-20 16:34:46 +02:00
Kamil Kisiela
137c9ae2c6
Update cloudflare.ts 2022-12-19 10:34:58 +01:00
Kamil Kisiela
2a28fd5826
Use Engine Analytics in CDN Worker (#681) 2022-12-19 10:01:37 +01:00
Dimitri POSTOLOV
01124cd5a3
[🔧 ESLint] fixes for unicorn/numeric-separators-style rule (#735) 2022-12-08 08:18:48 +01:00
Laurin Quast
8412a34e1a
new artifacts API (#692)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-01 11:08:52 +01:00
renovate[bot]
1afe0ec73a
Update dependency @theguild/prettier-config to v1 (#676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-24 10:00:41 +00:00
Dotan Simha
3ccff46f0f
Added missing PodDisruptionBudget, upgrade cert-manager to latest (#656) 2022-11-18 11:15:14 +02:00
Kamil Kisiela
a959522d03
envoy - bump timeoutPolicy to 60s and retry twice on reset (#614)
I updated the helm chart `7.8.0 -> 10.0.0`
Whenever a request is dropped because of connection reset, we do a retry (max 2) now.
The timeout (response) is higher `60s -> 15s` for all upstream routes.
2022-11-08 15:12:22 +01:00
Kamil Kisiela
51cb4bb412
Request Proxy in CF Worker (#517) 2022-11-07 14:27:19 +01:00
Dotan Simha
5773754785
Update all Pulumi dependencies to latest and fix deployment tsconfig.json (#541) 2022-10-26 10:27:35 +03:00
Dotan Simha
846e76cde5
Fixes for CSP on Safari, made hostname inference dynamic, remove headway scripts, update and adjust @pulumi/cloudflare setting to use latest version (#522) 2022-10-21 05:33:50 +03:00
Kamil Kisiela
bf4b35c8c8
Scrape non-200 from Envoy (#513) 2022-10-19 15:38:28 +02:00
Kamil Kisiela
79187c8f19
Use Sentry in CF Workers (#460) 2022-10-07 12:08:29 +02:00
Laurin Quast
7656b7957d
feat: clean app env (#422)
* feat: document environment variables

* more env documentation

* wip

* add noop for backend env

* typo

* feat: embed environment validation/parsing in built app

* fix the sentry integration 😌

* feat: use env

* feat: decode the usage service environment

* feat: decode the webhooks service environment

* feat: disallow process.env

* feat: decode the tokens service environment

* feat: decode the stripe-billing service environment

* feat: decode server service environment

* feat: decode schema service environment

* feat: decode rate-limit service environment

* feat: decode usage-estimator service environment

* feat: decode emails service environment

* adjust env

* remove commented out code

* adjust env variable name

* use separate env variables

* env fixes

* more environmental stuff :)

* ...

* replace POSTGRES_CONNECTION_STRING with specific environment variables

* handle optional clickhouse (for now :)

* add missing POSTGRES_DB environment variable

* make ENVIRONMENT optional

* the other matters lol

* feat: support delivering mails via SMTP (#412)

* feat: optional CDN (#410)

* feat: optional CDN

* enable CDN in deployment

* enable the CDN in integration tests

* add sendmail provider

* remove unused env variables from the deployment

* only show login alert when legacy auth0 migration is enabled

* feat: make TOKENS_ENDPOINT mandatory and RATE_LIMIT_ENDPOINT optional for usage service

* feat: upgrade supertokens and enable server side email confirmation (#423)

* feat: upgrade supertokens and enable server side email confirmation

* feat: opt into required email verification

* docs: self hosting (#428)

* docs: self-hosting quick start

* Update packages/web/docs/pages/self-hosting/get-started.mdx

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

* feat: optional GitHub and Slack environment variables (#440)

* feat: optional github integration environment variables

* feat: optional slack integration (#441)

* use latest stable supertokens

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-04 14:30:21 +02:00