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

prometheus targets mistake #108

Open
dinghui40 opened this issue Mar 15, 2024 · 3 comments
Open

prometheus targets mistake #108

dinghui40 opened this issue Mar 15, 2024 · 3 comments

Comments

@dinghui40
Copy link
Contributor

问题:

我使用 Helm 部署服务后发现, 监控目标 n9e 准备失败报错如下

错误排查:

  1. 排查 kubernetes svc 后发现, svc内并没有创造名称为 n9e 的 svc 导致连接失败
  2. 并且 prometheus 在报错格式错误
image

修改后格式和 svc 名称后恢复
image

已修复

修改文件:templates/prometheus/configmap.yaml

PR地址:#107

@kongfei605
Copy link
Contributor

kongfei605 commented Mar 15, 2024

@dinghui40
Copy link
Contributor Author

是的您说的没错,我发现有两个 service:nightingale-center和nightingale 都可以使用所以搞错了哈哈。我会去修改一下我的提交
image

@kongfei605
Copy link
Contributor

感谢反馈

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

2 participants