how to get request count at kubernets service endpoint level

11/23/2020

in our Kubernetes cluster we use multiple internal Kubernetes service endpoints. and these service endpoints used by multiple client services.

we wanted to check is there any which we can get the kubernets service level metrics in terms of request count, average response time, status code aggregation?

-- chitender kumar
kubernetes
kubernetes-service
prometheus

1 Answer

11/23/2020

Kubernetes service uses Virtual IP (Layer 4) for load balancing which can't give you Application-level metrics (Layer 7)

You will need to install a service mesh to get Layer 7 metrics.

Refer: https://kubernetes.io/blog/2017/05/managing-microservices-with-istio-service-mesh/

-- Tummala Dhanvi
Source: StackOverflow