我正在尝试使用Prometheus和grafana监控我的kubernetes集群指标。这就是我关注的link。在我的Prometheus仪表板上面对kubernetes-service-endpoints (2/3 up)的问题。
下面是本任务中使用的grafana仪表板。
我检查了我的Prometheus pod日志,.It显示的错误如下
有人能建议如何在上面的仪表板中获得系统服务指标吗?
(或)
建议我使用Prometheus监控kubernetes集群的任何grafana仪表板名称?
发布于 2018-08-29 18:38:14
检查你的prometheus.yaml它应该有普罗米修斯的静态配置,
static_configs:
- targets:
- localhost:9090
卷曲localhost:9090/metrics
并确保将指标作为输出接收
对于grafana仪表板,创建一个组织-> prometheus作为数据源配置prometheus IP:PORT,然后单击测试并确认连接可用。
打开.json文件,根据需要更改配置,然后导入并检查。
https://stackoverflow.com/questions/52066896
复制相似问题