Hi All, I have configured node exporter with text file collector. But it is 
reading metrics from only 1 prom file. could you please help? Host 
operating system: output of uname -a 

Linux YYYY 3.10.0-957.10.1.el7.x86_64 #1 
<https://github.com/prometheus/node_exporter/pull/1> SMP Thu Feb 7 07:12:53 
UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of node_exporter --version 

node_exporter, version (branch: , revision: )
build user:
build date:
go version: go1.13.6
node_exporter command line flags 

node_exporter --web.listen-address=:9100 
--collector.textfile.directory=/home/nodeexp/db --log.level=debug 
--no-collector.arp --no-collector.bcache --no-collector.bonding 
--no-collector.conntrack --no-collector.cpu --no-collector.cpufreq 
--no-collector.diskstats --no-collector.edac --no-collector.entropy 
--no-collector.filefd --no-collector.filesystem --no-collector.hwmon 
--no-collector.infiniband --no-collector.ipvs --no-collector.loadavg 
--no-collector.mdadm --no-collector.meminfo --no-collector.netclass 
--no-collector.netdev --no-collector.netstat --no-collector.nfs 
--no-collector.nfsd --no-collector.powersupplyclass --no-collector.pressure 
--no-collector.schedstat --no-collector.sockstat --no-collector.softnet 
--no-collector.stat --no-collector.thermal_zone --no-collector.time 
--no-collector.timex --no-collector.uname --no-collector.vmstat 
--no-collector.xfs --no-collector.zfs
Are you running node_exporter in Docker? 

No
What did you do that produced an error? 

i have copied multiple files with .prom as extension in /home/nodeexp/db 
dir and node_exporter is reading from only 1 file
What did you expect to see? 

As per documentation, it can read from all files with extension .prom
What did you see instead? 

it is reading from only 1 file.

 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/e39d68ac-e1ad-49ea-992d-7de57d06b449%40googlegroups.com.

Reply via email to