Skip to content

prometheus targets mistake #108

@dinghui40

Description

@dinghui40

问题:

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

错误排查:

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

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

已修复

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

PR地址:#107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions