[英]How to show custom application metrics in Prometheus captured using the golang client library from all pods running in Kubernetes
[英]Prometheus does not show metrics of all pods
当我们使用Kubernetes进行生产时,我们有一个包含许多Pod的规模化应用程序并作为服务发布,将Prometheus的每个单个指标获取请求路由到一个随机选择的Pod。 在这种情况下,监视结果不正确。
暂时我们需要所有Pod指标(例如10个pod),并且无法通过调用Kubernetes Service端点来实现! 这个问题有什么解决办法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.