Don't count empty collection as success (#1613)
Many collectors depend on underlying features to be enabled. This causes confusion about what "success" means. This changes the behavior of the `node_scrape_collector_success` metric. * When a collector is unable to find data don't return success. * Catch the no data error and send to Debug log level to avoid log spam. * Update collectors to support this new functionality. * Fix copy-pasta mistake in infiband debug message. Closes: https://github.com/prometheus/node_exporter/issues/1323 Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
1a75bc7b50
commit
3e1b0f1bee
11 changed files with 26 additions and 12 deletions
|
|
@ -10,12 +10,14 @@
|
|||
- `node_md_is_active` is replaced by `node_md_state` with a state set of "active", "inactive", "recovering", "resync".
|
||||
* Additional label `mountaddr` added to NFS device metrics to distinguish mounts from the same URL, but different IP addresses. #1417
|
||||
* Metrics node_cpu_scaling_frequency_min_hrts and node_cpu_scaling_frequency_max_hrts of the cpufreq collector were renamed to node_cpu_scaling_frequency_min_hertz and node_cpu_scaling_frequency_max_hertz. #1510
|
||||
* Collectors that are enabled, but are unable to find data to collect, now return 0 for `node_scrape_collector_success`.
|
||||
|
||||
### Changes
|
||||
|
||||
* [CHANGE] Add `--collector.netdev.device-whitelist`. #1279
|
||||
* [CHANGE] Refactor mdadm collector #1403
|
||||
* [CHANGE] Add `mountaddr` label to NFS metrics. #1417
|
||||
* [CHANGE] Don't count empty collectors as success. #...
|
||||
* [FEATURE] Add new schedstat collector #1389
|
||||
* [FEATURE] Add uname support for Darwin and OpenBSD #1433
|
||||
* [FEATURE] Add new metric node_cpu_info #1489
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue