Linux node_exporter 添加自定义指标 本文介绍了使用node_exporter的textfile模块采集CentOS 7中/var/log/message中的oom log的方法。通过编写脚本产生指标文件,将OOM日志以labels形式传入metric,并生成符合prometheus text-based格式的指标文件。