Commit graph

31 commits

Author SHA1 Message Date
Dotan Simha
7c063ca1b0
fix(deployment): use hostname for topologyKey instead of region, update resources settings and staging configs (#7005) 2025-09-16 14:06:42 +03:00
jdolle
132feb93e8
Reduce usage service readiness threshold (#6759) 2025-05-01 14:44:48 -07:00
Laurin Quast
8c3413a207
feat(usage): report with organization access tokens (#6538)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-06 09:19:37 +08:00
Kamil Kisiela
f60ae6e83e
Replaces rate-limit, stripe-billing and usage-estimator with commerce (#6540) 2025-02-24 10:41:01 +00:00
Kamil Kisiela
2507a9b9e0
In-memory fallback queue and no manual reconnecting of Kafka in Usage service (#6531) 2025-02-18 14:24:06 +00:00
Dotan Simha
ba207485ad
feat: open telemetry tracing for usage service (#6351) 2025-01-17 10:40:18 +01:00
Dotan Simha
cc0d107b60
Revert "limit memory on usage service" (#6159) 2024-12-24 09:45:17 +02:00
Saihajpreet Singh
38e457b05e
limit memory on usage service (#6083) 2024-12-23 10:13:39 +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
Dotan Simha
2b70eba006
replicas adjustments for prod env (#2825) 2023-09-17 01:19:12 +00:00
Dotan Simha
ced56449f8
Implement topologySpreadConstraints for K8s deployments (#2824) 2023-09-16 17:33:28 -07:00
Kamil Kisiela
afae33eb21
New and improved model of Schema Registry (#789) 2023-02-02 19:35:59 +01:00
Kamil Kisiela
22a8e5f7aa
Make tokens service replicable (#1134) 2023-01-26 16:39:41 +01:00
Kamil Kisiela
8c8eb18fd9
Make request logging optional (#1118) 2023-01-24 17:04:13 +01:00
Kamil Kisiela
a207ac81e0
Increase max replicas of usage and usage-ingestor (#1107) 2023-01-23 17:26:45 +01: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
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
b9d8e2ceac
Fix the new env vars setup (#450)
* Use 5432 as default port of pg

* Fix ssl

* fix: only set heartbeat env variable if heartbeat is enabled (#446)

* fix: only set heartbeat env variable if heartbeat is enabled

* fix: default port

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

* POSTGRES_SSL everywhere

* oh come on

* Fix Kafka connection

* Fix DOCS_URL

* Fix docs url

* But I can feel your heartbeat

I can feel your heartbeat (he said to me)

'I can feel your heartbeat' (running through me)

Feel your heartbeat

She said, 'I can feel your heartbeat' (she said to me)

'I can feel your heartbeat' (she said to me)

'I can feel your heartbeat' (running through me)

Your heartbeat, feel your heartbeat

* Your heartbeat, your heartbeat

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-10-05 11:48:05 +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
Kamil Kisiela
64e53f207b
Adjust deployment for #390 (#405) 2022-09-26 14:30:15 +02:00
Kamil Kisiela
20e3129caa
$ prettier <all> (#46)
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2022-05-24 16:31:53 +03:00
Dotan Simha
d8640dd2ec
Use only one usage replicas (#39) 2022-05-19 15:54:02 +03:00
Dotan Simha
3c097a1853
Added auto scaling based on CPU for pods (#26)
* Added auto scaling based on CPU for pods

* fix for hpa and cpu limits of containers
2022-05-19 13:18:36 +03:00
Kamil Kisiela
f6d4386ae4
Revert "Added auto scaling based on CPU for pods (#1)" (#6)
This reverts commit 0f85b3a694.
2022-05-18 12:57:32 +02:00
Dotan Simha
0f85b3a694
Added auto scaling based on CPU for pods (#1) 2022-05-18 11:07:08 +02:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00