174 Commits

Author SHA1 Message Date
utam0k
d46531d51c log: Add a test case for redact. 2022-10-21 03:47:36 +02:00
Sven Efftinge
fef62f3e9e [supervisor] shutdown processes gracefully 2022-10-07 13:09:22 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
ArthurSens
b50ebe734e common-go: Add code line to all emitted logs
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-09-28 23:37:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Anton Kosyakov
8af104c2c4 [baseserver] do not log error when the server successfully closes 2022-09-26 14:14:27 +02:00
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
JenTing Hsiao
13cccd8324 Force all the values redacted once one of the values matches redact fields
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-17 04:09:17 +02:00
Milan Pavlik
42224aeee9 [baseserver] Add metric with version of the server, use in public api and usage 2022-09-16 14:20:17 +02:00
JenTing Hsiao
cd0247a7ce Redact the rest values once the previous one matches redact fields
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-15 11:37:16 +02:00
Sven Efftinge
8b8ffda181 [grpc] log stack on panic 2022-09-07 12:10:22 +02:00
Thomas Schubart
2d7e29c9e2 [ws-daemon] Include time unit and use struct for map 2022-08-24 14:14:40 +02:00
Thomas Schubart
4fe7402203 [ws-daemon] Plugin for setting up network limits 2022-08-24 14:14:40 +02:00
Thomas Schubart
a35deebe83 [common] Exend unit test for cpu.max 2022-08-24 13:22:40 +02:00
Thomas Schubart
ec7a0d4c9e [ws-daemon] Prevent divide by zero error 2022-08-24 13:22:40 +02:00
Pavel Tumik @ GitPod
c8c906e278 replace os.IsNotExist with errors.Is(err, fs.ErrNotExist) 2022-08-24 03:35:40 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
9500ed33eb Remove duplication of parsing SUPERVISOR_ADDR 2022-08-11 01:40:54 +02:00
Andrew Farries
1199c4e7bd Set baseserver gRPC max receive message size
Allow the gRPC server to receive messages up to 100MB in size.
2022-08-09 16:57:53 +02:00
Anton Kosyakov
01487c9a61 [supervisor] fix gitpod config changed analytics 2022-08-09 09:54:53 -03:00
Manuel Alejandro de Brito Fontes
4e941c628a [common-go] Remove unused WorkspaceSupervisorEndpoint helper 2022-08-08 20:02:52 -03:00
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -03:00
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 2022-08-05 11:42:49 -03:00
Thomas Schubart
ee20a83d80 [ws-manager] Add cpu constraint annotations 2022-08-05 11:42:49 -03:00
Manuel Alejandro de Brito Fontes
f6af776789 Add support for HTTP_PROXY, HTTPS_PROXY and NO_PROXY in probes 2022-08-03 19:42:47 -03:00
Manuel Alejandro de Brito Fontes
86cafcf14f Filter grpc health check from tracing 2022-07-28 09:48:22 -03:00
Manuel Alejandro de Brito Fontes
6b2fbe4def Filter grpc health check from tracing 2022-07-26 23:14:21 -03:00
Manuel Alejandro de Brito Fontes
14095f470b Refactor configuration of localhost address, metric and debug ports 2022-07-23 11:19:18 -03:00
Thomas Schubart
149e75d82f [common-go] Add config cat client 2022-07-19 15:54:14 +02:00
JenTing Hsiao
c5147d7633 Remove no longer used annotation gitpod.io/containerIsGone
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-18 20:35:13 +02:00
Pavel Tumik
dc94adbbee [baseserver] do not log grpc messages unless they contain an error 2022-07-14 21:26:01 +02:00
Andrew Farries
3174e3bd0d Add omitempty struct tag 2022-07-11 13:50:58 +05:30
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Thomas Schubart
cb844f1916 [common] Introduce cgroup library 2022-06-28 22:45:37 +05:30
Manuel Alejandro de Brito Fontes
6f0bbbf5a2 Update go modules 2022-06-20 20:43:31 +05:30
Manuel Alejandro de Brito Fontes
14a9cbc59e Include cgroups v2 error instead of a static message 2022-06-20 20:43:31 +05:30
Pudong Zheng
fe6e39e3a3 [workspace] support user upload ssh keys
Co-authored-by: Huiwen <huiwen@gitpod.io>
Co-authored-by: Christian Weichel <chris@gitpod.io>
Co-authored-by: Pavel Tumik <18602811+sagor999@users.noreply.github.com>
2022-06-15 22:58:25 +05:30
Thomas Schubart
f5d555948a Extend ws-manager tracing with team and project 2022-06-15 21:43:25 +05:30
Pavel Tumik
e1b335c029 [ws-manager] change workspace state tracing 2022-06-14 17:06:24 +05:30
Aleksandar Aleksandrov
cdb1a33ed3 Configure grpc_server histogram metrics with proper buckets 2022-06-08 16:11:18 +05:30
Manuel Alejandro de Brito Fontes
624021f2f2 Simplify configuration of KubeRBACProxyContainerWithConfig and remove collision 2022-06-03 18:07:52 +05:30
Manuel Alejandro de Brito Fontes
c7077d1160 Revert "[baseserver] Change default metrics port to 9502 to not clash with kube-rbac-proxy"
This reverts commit 0273683af5c2108d4a0abc21b6a3627b8b526e17.
2022-06-03 02:21:51 +05:30
Thomas Schubart
617aef73c6 [baseserver] Stop logging healthcheck RPCs 2022-06-02 16:58:51 +05:30
Milan Pavlik
44313757a7 [baseserver] Stop logging healthcheck RPCs 2022-06-02 12:32:51 +05:30
Mads Hartmann
2823606369 Ensure we close spans 2022-05-28 23:44:47 +05:30
utam0k
0a68903b28 ws-manager: Refactor the annotation bool string. 2022-05-25 13:56:39 +05:30