Commit graph

46 commits

Author SHA1 Message Date
Valentin Cocaud
c728a995e2
feat(server): add hive tracing integration (#7410)
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2025-12-18 16:01:48 +01:00
Piotr Monwid-Olechnowicz
3e76e87dd3
Disable no-process-env rule in docs and environment.ts files (#6445) 2025-01-29 22:15:46 +01:00
Andrii Hrachov
8aec41a36e
feat: redis tls support (#5884)
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2024-11-11 14:26:30 +01:00
Kamil Kisiela
7edd150e63
Deprecate cleanId, use slug instead (#5684) 2024-10-21 13:06:29 +02:00
Saihajpreet Singh
3582de5a74
feat: improve error handling for webhook broker (#5590) 2024-10-01 11:39:23 +02:00
Dotan Simha
86cbe95bd2
distributed tracing (#4219) 2024-04-07 11:57:03 +03:00
Heb
bb0ff238ee
chore: use node import specifier for crypto (#4328) 2024-03-25 12:21:00 +01:00
Dotan Simha
0a27436166
Use native fetch in CDN workers, refactor deprecated TS types, fixed integration tests fetch (#4112) 2024-02-29 11:31:44 +02:00
Dotan Simha
baff4c6257
upgrade fastify to v4 and clean up for deprecations/api usage (#4014) 2024-02-25 17:15:03 +02:00
Dotan Simha
1628451cb6
sentry fixes (#4011) 2024-02-20 16:34:53 +00:00
Yannick Rödl
9866850e3f
fix: prometheus port documentation and expose (#3710) 2024-02-01 12:53:21 +00:00
renovate[bot]
5c10e15f89
fix(deps): update trpc to v10.43.3 (#3372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-11-14 10:39:28 +02:00
renovate[bot]
e615b6f0e3
chore(deps): update dependency bullmq to v4.13.1 (#3335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 10:50:47 +00:00
Kamil Kisiela
d129615849
Opt-out from resolving response body when sending a webhook (#2765) 2023-08-24 10:23:56 +00:00
renovate[bot]
2e34aee631
fix(deps): update dependency ioredis to v5.3.2 (#2034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-04-23 10:11:59 +00:00
Dotan Simha
78d8987229
Fixes for local development of Hive, and make it IPv6 friendly (#1317) 2023-02-09 15:38:50 +09:00
Kamil Kisiela
ab38a700ee
Add user-agent and content-type headers to response from Broker (#1187) 2023-01-30 18:56:46 +01:00
Kamil Kisiela
f23f294a7e
Log errors in tRPC servers (#1183) 2023-01-30 14:22:15 +01:00
Dotan Simha
0d4f1b3856
Fix logger issue with heartbeat onError (#1126) 2023-01-25 08:36:53 +00:00
Kamil Kisiela
8c8eb18fd9
Make request logging optional (#1118) 2023-01-24 17:04:13 +01:00
Denis Badurina
8287a51255
prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
Dimitri POSTOLOV
a9ae5500e3
replace all Boolean(...) with !!... with new guild eslint config (#973) 2023-01-10 12:38:46 +01:00
Dotan Simha
4d2ec4bc8a
Upgrade Redis to v7 and upgrade BullMQ to latest (#937) 2023-01-02 13:05:23 +02:00
Dimitri POSTOLOV
02469da474
[🔧 ESLint] fixes for no-implicit-coercion (#742)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-28 21:04:17 +01:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +01:00
Dotan Simha
20edc8c5e5
Partial dependencies upgrade and cleanup for old packages (#904) 2022-12-28 00:36:08 +02:00
Laurin Quast
e187e17942
feat: log metadata for failed webhook jobs (#749) 2022-12-07 17:34:09 +01:00
Kamil Kisiela
49380ff695
tRPC v10 (#706) 2022-11-29 18:47:13 +01:00
Dimitri POSTOLOV
6be629baf7
enable @typescript-eslint/no-floating-promises for all files (#634)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-28 12:41:11 +00: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
Ryan Perry-Nguyen
e288d323cc
Support log level and request logs (#612)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-22 11:52:26 +01:00
Kamil Kisiela
51cb4bb412
Request Proxy in CF Worker (#517) 2022-11-07 14:27:19 +01:00
rickbijkerk
f0e403db30
Do not reconnect BullMQ on taskforcesh/bullmq#323 (#516)
Co-authored-by: Rick Bijkerk <rickbijkerk@bol.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-20 15:39:33 +02:00
Laurin Quast
7990f9f03f
feat: treat empty string environment variable as undefined (#449) 2022-10-05 09:22:20 +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
53fc9418fd
Sentry on staging (#338) 2022-09-06 18:05:39 +02:00
Kamil Kisiela
d02f9efdf0
Initial Emails service (#261)
* Initial Emails service

* Fix yarn.lock

* Metrics

* Fixes
2022-08-12 14:51:09 +02:00
Kamil Kisiela
605f52319a
Enable sampling for selected operations in Sentry (#224)
Instead of TEST_FILTER use the same logic as when running jest fileOrPattern
2022-07-05 17:29:39 +02:00
Kamil Kisiela
692d8a5830
Fix infinite loop in Operations view (#199)
* Fix infinite loop in Operations view

* Use cjs version of fastify adapter for trpc server
2022-06-28 22:19:11 +02:00
Kamil Kisiela
9cee7420a7
Pass x-request-id to tRPC (#195)
- No Sentry reporting for GraphQLErrors
- No more debugging of that sentry issue
- Passes x-request-id to tRPC and uses `fastifyRequest.log` for logging (that extracts x-request-id and shows it in the log message)
2022-06-28 15:01:44 +02:00
Kamil Kisiela
d2a0f9d4e7
Rename HEARTBEATS_ENDPOINT to HEARTBEAT_ENDPOINT (#190)
To match the env var of deployment code
2022-06-27 13:56:00 +02:00
Kamil Kisiela
173b4844f1
Add heartbeats to tokens, webhooks and usage-ingestor services (#186)
Support BetterUptime Heartbeats
2022-06-27 13:17:32 +02:00
Dimitri POSTOLOV
bd3100d2a6
enable and fixes errors for @typescript-eslint/no-floating-promises rule (#150)
* enable rule and update eslint deps

* add return types

* fixes

* fix storage migration

* fix typecheck

* fix integrations tests

* fix last issues

* Update packages/libraries/client/src/client.ts

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-06-23 12:04:10 +02:00
Kamil Kisiela
a7152bd6f5
Add service_readiness metrics (#105)
* Add service_readiness metrics

* Format
2022-05-26 11:02:10 +02:00
Kamil Kisiela
20e3129caa
$ prettier <all> (#46)
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2022-05-24 16:31:53 +03:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00