34 Commits

Author SHA1 Message Date
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03: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
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
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
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -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
Pavel Tumik
dc94adbbee [baseserver] do not log grpc messages unless they contain an error 2022-07-14 21:26:01 +02:00
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
Pudong Zheng
d48c044596 [baseserver] fix CI lint failed 2022-05-21 00:19:34 +05:30
Milan Pavlik
0273683af5 [baseserver] Change default metrics port to 9502 to not clash with kube-rbac-proxy 2022-05-19 04:07:33 +05:30
Milan Pavlik
49e3d1e82d [public-api] Do not use localhost as address, not reachable in k8s 2022-05-18 18:50:33 +05:30
Milan Pavlik
f222cb540c [baseserver] Failed certificate setup erros, instead of exiting 2022-05-18 16:52:32 +05:30
Andrew Farries
77ce184cd5 Use reflection in the base server 2022-05-17 19:16:32 +05:30
Milan Pavlik
ebdff1fe71 [baseserver] Initialize go metrics automatically 2022-05-17 11:14:31 +05:30
Christian Weichel
1dd74d317b [baseserver] Incorporate review feedback 2022-05-16 13:23:31 +05:30
Christian Weichel
4960dce425 [baseserver] Enforce common standards services
specifically debug, health and readiness
2022-05-16 13:23:31 +05:30
Christian Weichel
b397fed927 [baseserver] Support common config struct 2022-05-16 13:23:31 +05:30
Milan Pavlik
fc5f2bf1c3 [baseserver] Dedicated debug server 2022-05-13 14:32:28 +05:30
Milan Pavlik
24c3918e77 [baseserver] gRPC Health service 2022-05-12 13:40:27 +05:30
Milan Pavlik
262cba9b9c [baseserver] Expose gRPC prometheus metrics 2022-05-10 15:48:25 +05:30
Milan Pavlik
084011108f [baseserver] Use common interceptors 2022-04-29 16:29:15 +05:30
Milan Pavlik
e09c6996d8 [baseserver] Add grpc logging interceptors 2022-04-27 18:16:13 +05:30
Milan Pavlik
9a77c85447 [baseserver] Fix log typo to show correct port 2022-04-27 16:09:13 +05:30
Milan Pavlik
a9ae750610 [baseserver] Serve pprof on /debug/pprof 2022-04-25 17:34:37 +05:30
Milan Pavlik
db3b3d7547 [baseserver] Add /ready and /live endpoints, with config 2022-04-22 12:58:34 +05:30
Milan Pavlik
2abc2b71ca [public-api] Add unimplemented workspace service 2022-04-20 15:38:32 +05:30
Milan Pavlik
42f50fddd6 [baseserver] Allow zero port to automatically assign port 2022-04-19 21:24:32 +05:30
Milan Pavlik
043b4532db [baseserver] Add prometheus metrics 2022-04-19 18:18:32 +05:30
Milan Pavlik
2261745b6a [public-api-server] Group http and grpc servers into a baseserver package 2022-04-19 14:53:31 +05:30