kubernetes/pkg/kubelet/apis/podresources
Francesco Romani 1e7bb20c52 kubelet: podresources: per-endpoint metrics
Before the addition of GetAllocatableResources, the
podresources API had just one endpoint `List()`, thus we could just
account for the total of the calls to have a good pulse of the API usage.
Now that we extend the API with more endpoints
(`GetAlloctableResources`), in order to improve the observability we add
per-endpoint counters, in addition to the existing counter of the total
API calls.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:14:58 +01:00
..
client.go Kubelet now implements the V1 podresources API 2020-10-26 12:10:18 -07:00
constants.go add kubelet grpc server for pod-resources service 2018-11-15 09:43:20 -08:00
server_v1_test.go podresources: getallocatable: add feature gate 2021-03-09 13:14:56 +01:00
server_v1.go kubelet: podresources: per-endpoint metrics 2021-03-09 13:14:58 +01:00
server_v1alpha1_test.go node: podresources: translate types in cm 2021-03-09 13:13:36 +01:00
server_v1alpha1.go node: podresources: translate types in cm 2021-03-09 13:13:36 +01:00
types.go node: podresources: translate types in cm 2021-03-09 13:13:36 +01:00