From 25f811d35a01ab3722fae85293d7679dee9f674b Mon Sep 17 00:00:00 2001 From: Rakesh Patnaik Date: Tue, 20 Mar 2018 01:30:54 +0000 Subject: [PATCH] add additional collectors to process exporter Change-Id: I2c1055103a89663920cb309c714658caa3a74e05 --- prometheus-node-exporter/templates/daemonset.yaml | 7 +++++++ prometheus-node-exporter/values.yaml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/prometheus-node-exporter/templates/daemonset.yaml b/prometheus-node-exporter/templates/daemonset.yaml index b9658aacd..5baf355b3 100644 --- a/prometheus-node-exporter/templates/daemonset.yaml +++ b/prometheus-node-exporter/templates/daemonset.yaml @@ -62,6 +62,13 @@ spec: containers: - name: node-exporter {{ tuple $envAll "node_exporter" | include "helm-toolkit.snippets.image" | indent 10 }} + args: + - --collector.ntp + - --collector.ntp.server={{ .Values.conf.ntp_server_ip }} + - --collector.meminfo_numa + - --collector.bonding + - --collector.megacli + - --collector.mountstats ports: - name: metrics containerPort: {{ .Values.network.node_exporter.port }} diff --git a/prometheus-node-exporter/values.yaml b/prometheus-node-exporter/values.yaml index a35df2226..e6c7f2cf7 100644 --- a/prometheus-node-exporter/values.yaml +++ b/prometheus-node-exporter/values.yaml @@ -138,3 +138,6 @@ manifests: daemonset: true job_image_repo_sync: true service: true + +conf: + ntp_server_ip: 127.0.0.1