如何捕获每秒查询或微服务调用延迟? (没有 istio 或其他基于 envoy 的工具)

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

有没有什么方法可以在没有像 Istio 或任何其他基于 enovy/mesh 的架构这样的工具的情况下,在 kubernetes 环境中捕获每秒查询或服务调用延迟(两个服务之间)等指标?

换句话说,只有通过实施服务网格才能实现的指标是什么?

我将此作为社区 Wiki 答案发布,以提高知名度。

正如评论中提到的@Joel。

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.