Milan Pavlik
495ed8e6c3
[server] Set JWT cookie on sign-in WEB-100 ( #17200 )
...
* [server] Set JWT cookie on sign-in
* retest
* Fix
* retest
* Fix
* fix
* fix
* Fix
* also clear jwt cookie
* align max age with config
* Fix
2023-04-17 18:35:49 +08:00
Brad Harris
7e15f6d793
Report ErrorBoundary from Dashboard ( #16647 )
...
* adding a reportErrorBoundary method
* temp test of error boundary
* adding a fallback for error.mesage
* remove test code
* removing unintentional change
* Dropping url from metric label, feedback changes
2023-03-06 09:02:03 +01:00
Milan Pavlik
8233dc7aa2
[server] Perform authorization checks for Orgs against spicedb
2023-02-06 10:59:44 +01:00
Andrew Farries
7b0ccd7098
Track ws start failures due to resource exhaustion
...
* Add a new `resourceExhausted` reason for ws failures.
* Throw on resource exhaustion when trying to start a workspace rather
than trying the next cluster as we do for other grpc errors.
* Construct a StartInstanceError with the `resourceExhausted` reason
when the exception is handled.
This gives us a new "resourceExhausted" dimension on the `gitpod_server_instance_starts_failed_total` metric that can be used to track start failures due to resource exhaustion.
2023-01-20 11:56:28 +01:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Gero Posmyk-Leinemann
39e8827f22
[server] IAM: Report missing session as client error instead of system error
2022-12-06 06:52:16 -03:00
Andrew Farries
b88d9bbd6e
Add imageBuildsCompletedTotal metric
...
Add a counter to track the number of image builds recorded as completed
by `server`, broken down by outcome (succeeded, failed).
2022-11-01 12:52:06 +01:00
Andrew Farries
f47eaa9da9
Add prometheus metric for image builds started
2022-11-01 09:56:05 +01:00
Milan Pavlik
9bc39df509
[server] Remove gitpod_server_api_calls_user_total metric
2022-10-31 14:54:06 +01:00
Andrew Farries
c928b66408
Revert "Add prometheus metric for image builds started"
...
This reverts commit c41ca2081674fb330bea0a06f24f1f930d28b50d.
2022-10-26 20:40:41 +02:00
Andrew Farries
a4b28069ae
Add prometheus metric for image builds started
2022-10-26 13:41:41 +02:00
Milan Pavlik
25aee63603
[server] Report Stripe client metrics
2022-10-06 16:25:22 +02:00
Milan Pavlik
9bcc741a4a
[server] Observe request duration even for failures, report statusCode
2022-10-04 08:04:19 +02:00
Milan Pavlik
689b7f8bab
[server] Fix metrics registration
2022-09-23 11:37:23 +02:00
Milan Pavlik
6c40c53a7c
[server] Delete prebuild records when purging workspaces
2022-09-23 09:26:23 +02:00
Gero Posmyk-Leinemann
a7fd1becd6
[server] Delete Workspaces & Workspace Instances after configured period
2022-09-15 15:27:16 +02:00
Gero Posmyk-Leinemann
fd7720d5ba
[server] Only alert on explicit system failures
2022-08-29 21:17:14 +02:00
Sven Efftinge
dda2ebd82d
[server] track more startWorkspace failures
...
fixes #12332
2022-08-26 15:06:11 +02:00
Milan Pavlik
858eae2e01
[server] Reduce gitpod_server_api_calls_duration_seconds precision, add 2 buckets
2022-07-11 17:30:58 +05:30
Laurie T. Malau
6525911683
add metrics
2022-06-09 12:23:19 +05:30
Milan Pavlik
45f13cf8e9
Format components/server with prettier
2022-03-14 21:30:24 +05:30
Gero Posmyk-Leinemann
d03075048e
[server] FailedInstanceStart metrics: add case "startOnClusterFailed"
2022-03-07 22:30:14 +05:30
Gero Posmyk-Leinemann
7c6879326c
[server] Introduce metrics around clusterSelection in startWorkspaceInstance
...
- 'gitpod_server_instance_starts_success_total'
- 'gitpod_server_instance_starts_failed_total'
2022-03-07 22:30:14 +05:30
Laurie T. Malau
ea76aec273
Add metric and plug in
2022-01-13 15:52:06 +01:00
Manuel Alejandro de Brito Fontes
a1dc90b927
Update node prometheus library to 13.2.0
2021-09-17 12:32:42 -03:00
ArthurSens
b338a87f84
Add Gitpod version info metric
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-09-17 10:41:42 -03:00
ArthurSens
a8da492f24
Introduce gitpod_server_topic_read_total counter metrics, which counts the amount of times that server reads messagebus topic for each workspace.
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-07 13:55:46 -03:00
Anton Kosyakov
a93a80abe4
[server] http RED metrics
2021-02-18 14:53:03 +01:00
Christian Weichel
f3f67fcafd
[server] Add missing license header
2021-02-12 09:19:48 +01:00