Configuration
Exporters in the Prometheus ecosystem usually collect a specific set of metrics from a given process. The Node Exporter differs from most other exporters as machine-level metrics span a wide range of subsystems, and so it is architected to provide individual collectors, which can be turned on and off, depending on the instrumentation needs. Enabling collectors that are turned off by default can be done with the --collector.<name> set of flags; enabled collectors can be disabled by using the --no-collector.<name> flag variant.
From all the collectors enabled by default, one needs to be singled out due to its usefulness as well as its need of configuration to properly work. The textfile collector enables the exposition of custom ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access