![](/img/trans.png)
[英]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.