Kristaps Fabians Geikins
4b06f42db7
chore(server): run TS files directly (no compilation) ( #5134 )
...
* sort of works
* type fixes
* added option to run old way too
2025-07-23 11:20:40 +02:00
Iain Sproat
d486ffc09a
fix(logging): ensure metadata is present in logging context ( #4968 )
2025-06-20 15:40:26 +01:00
Iain Sproat
cb7ff5247d
Merge branch 'main' into iain/task-id-to-request-context
2025-05-19 14:26:26 +01:00
Iain Sproat
40b64f4e25
Fix log metadata that is occassionally undefined
2025-04-25 10:49:58 +01:00
Iain Sproat
bce8f8fd5e
Merge branch 'main' into iain/task-id-to-request-context
2025-03-04 16:25:49 +00:00
Iain Sproat
5e4a6c5635
fix(server/prometheus): ensure consistent Prometheus registry is used ( #4106 )
...
* fix(server/prometheus): ensure consistent Prometheus registry is used
- there was a conflicting dependency between Metrics initialization and Modules initialization; resolved by separating registry initialization from metrics initialization
- pass in the registry to prevent implicit dependency being broken
- when registering a metric, first attempt to remove any of existing metrics with same name to prevent errors
- to prevent sneaky uses of the implicit registry, replace default import with explicit import so it is clearer when prometheusClient.registry is used
* Add tests for registering metrics
2025-03-04 08:41:53 +00:00
Iain Sproat
193e7d870e
chore(server/logging): email logging should include request or task Id in log context
...
- allows us to better link events to triggering actions
2025-03-01 23:30:57 +00:00
Iain Sproat
ce08e5e02d
refactor(server): logging directory renamed to observability ( #4077 )
2025-02-28 08:43:54 +00:00
Kristaps Fabians Geikins
1d2a594f0a
chore: upgrade TS 5.2 -> 5.7.3 & ESLint to 9.20.1 ( #4032 )
...
* chore: upgrade TS 5.2 -> 5.7.3
* vite dts fix
* lint fix
* resolutions fix
* ui comp build fix
* precommit fix?
* latest eslint version
* autoloader fix
* undo unnecessary viewer change
* eslint fixes fe2 + trying disabled type linting
* lint fixes
2025-02-20 14:18:18 +02:00
Kristaps Fabians Geikins
b074a4a13a
feat(server): greatly optimizing Branch.commits & Query.streams, when limit=0 ( #3863 )
...
* fix(server): optimize Branch.commits resolver
* feat(server): optimizing Query.streams a bit too
* fix(server): gql error req duplicate entries logged
2025-01-23 18:54:15 +01:00
Kristaps Fabians Geikins
cf7f2593cb
feat(server): add db metrics to GQL finished log entries ( #3826 )
...
* feat(server): add db metrics to GQL finished log entries
* logging for query errored as well
2025-01-15 13:40:00 +02:00
Iain Sproat
8cadddf923
fix(metrics): speckle_server_apollo_calls built with correct register ( #3780 )
2025-01-08 19:54:58 +01:00
Iain Sproat
076622bb60
fix(logging): graphql errors are logged at the appropriate level ( #3114 )
2024-09-25 13:07:07 +01:00
Kristaps Fabians Geikins
c92938eff3
chore(server): apollo server v3 -> v4 ( #2880 )
...
* main changes seem to be done?
* lint fix
* minor cleanup
* dataloader clear
2024-09-05 12:27:13 +03:00
Kristaps Fabians Geikins
74c17cd099
fix(server): only changing gql http status code on rate limiting ( #2466 )
2024-07-02 17:44:22 +03:00
Kristaps Fabians Geikins
7d79c056db
fix(server): 401, 403, 429 & 500 status codes for GQL error responses ( #2463 )
2024-07-02 16:54:25 +03:00