[英]Can not get Prometheus data in Grafana dashboard in Kubernetes
[英]unable to get the system service memory and cpu metrics of kubernetes cluster in grafana dashboard using prometheus
我正在尝试使用Prometheus和grafana监视我的kubernetes集群指标。 这是我遵循的链接 。 在我的Prometheus仪表板中面对kubernetes-service-endpoints(2/3上)的问题。
以下是用于此任务的grafana仪表板。
我检查了我的Prometheus pod日志。它显示了类似的错误
有人可以建议如何在上述仪表板中获取系统服务指标吗?
(要么)
给我建议使用Prometheus监视kubernetes集群的任何grafana仪表板名称?
检查您的prometheus.yaml,它应具有与prometheus一样的静态配置,
static_configs:
- targets:
- localhost:9090
curl localhost:9090/metrics
并确保您正在接收度量作为输出
对于grafana仪表板,创建一个org-> prometheus作为数据源,配置prometheus IP:PORT并单击test并确认连接可用。
打开.json文件并根据您的要求更改配置,然后导入并检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.