Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微服务等图表无法显示的一般处理办法 #70

Closed
lwhua opened this issue Nov 12, 2020 · 3 comments
Closed

微服务等图表无法显示的一般处理办法 #70

lwhua opened this issue Nov 12, 2020 · 3 comments

Comments

@lwhua
Copy link

lwhua commented Nov 12, 2020

1 Kubernetes for Prometheus Dashboard CN v20201010 这个面板没有数据显示,kube-state-metrics安装了也没有数据。
如图所示:
image

image

@lwhua lwhua closed this as completed Nov 12, 2020
@lwhua
Copy link
Author

lwhua commented Nov 12, 2020

原来是kube-state-metrics所属命名空间弄错了,但是还是有部分面板没有数据:
image

@lwhua lwhua reopened this Nov 12, 2020
@starsliao
Copy link
Owner

starsliao commented Nov 22, 2020

遇到无法展示数据的图表,如果是菜单有”时间间隔“的请先调大时间间隔,并调小右上角的查询周期,

还是无法展示的,请编辑相应图表,找到有问题的查询语句下方的prometheus按钮,点击可以连接到相应的prometheus去查询,
image
如果无法打开连接,请复制查询语句到prometheus中的Console页去查询,注意替换或者删除掉查询语句中的变量部分,看下是否有查询结果,再找原因。

grafana只做数据展示,数据来源是prometheus。

@starsliao starsliao pinned this issue Nov 22, 2020
@starsliao starsliao changed the title 微服务等资源不显示 微服务等图表无法显示的一般处理办法 Nov 22, 2020
@CaptainsDT
Copy link

你的普罗米修斯你在k8s中部署的吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@starsliao @lwhua @CaptainsDT and others