【发布时间】:2018-12-22 03:19:47
【问题描述】:
我有一个 prometheus 服务器,一个 node_exporter 在我的一台服务器上运行,并且启用了 systemd 收集器。我正在尝试限制/过滤 node_exporter 报告的服务。
我尝试使用 node_exporter --collector.systemd.unit-whitelist 并提供正则表达式来限制服务,但我不断收到
WARN[0008] Couldn't create disabled collector: systemd source="node_exporter.go:40"
我不确定我遗漏了什么,或者是否有其他方法可以将报告的服务限制为我感兴趣的特定服务。有没有人尝试过并且成功了?
【问题讨论】:
标签: monitoring prometheus