Skip to content

Textfile Collector reading only 1 prom file #1600

@bj9306

Description

@bj9306

Host operating system: output of uname -a

Linux YYYY 3.10.0-957.10.1.el7.x86_64 #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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions