How to capture query per seconds or microservice call latency? (without istio or other envoy based tool)

7/18/2020

Is there any way to capture metrics like query per seconds or latency of service call (between two services) in kubernetes environment without tool like Istio or any other enovy/mesh based architecture?

In other words, what are the metrics that are only possible by implementing a service mesh?

-- Pragmatic
istio
istio-kiali
kubernetes
microservices
prometheus

1 Answer

7/28/2020

I am posting this as a community wiki answer for better visibility.

as @Joel mentioned in comments.

Without a service mesh or proxy-based architecture, I would say it is up to your application to provide these metrics. There are prometheus exporters or modules for many popular frameworks. E.g. microprofile metrics, micrometer.io, etc. But envoy or service meshes would make it framework-agnostic.

-- Jakub
Source: StackOverflow