diff options
author | Ben Kochie <superq@gmail.com> | 2020-02-19 16:11:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 16:11:29 +0100 |
commit | 3e1b0f1bee40af140c1349ab401392882ed658de (patch) | |
tree | 7e4cd24fd74facefc651834def528a916b29a3ab /CHANGELOG.md | |
parent | 1a75bc7b5039502641f41382a97031ae459455c5 (diff) | |
download | prometheus_node_collector-3e1b0f1bee40af140c1349ab401392882ed658de.tar.bz2 prometheus_node_collector-3e1b0f1bee40af140c1349ab401392882ed658de.tar.xz prometheus_node_collector-3e1b0f1bee40af140c1349ab401392882ed658de.zip |
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>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 188906a..a109af1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -10,12 +10,14 @@ | |||
10 | - `node_md_is_active` is replaced by `node_md_state` with a state set of "active", "inactive", "recovering", "resync". | 10 | - `node_md_is_active` is replaced by `node_md_state` with a state set of "active", "inactive", "recovering", "resync". |
11 | * Additional label `mountaddr` added to NFS device metrics to distinguish mounts from the same URL, but different IP addresses. #1417 | 11 | * Additional label `mountaddr` added to NFS device metrics to distinguish mounts from the same URL, but different IP addresses. #1417 |
12 | * 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 | 12 | * 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 |
13 | * Collectors that are enabled, but are unable to find data to collect, now return 0 for `node_scrape_collector_success`. | ||
13 | 14 | ||
14 | ### Changes | 15 | ### Changes |
15 | 16 | ||
16 | * [CHANGE] Add `--collector.netdev.device-whitelist`. #1279 | 17 | * [CHANGE] Add `--collector.netdev.device-whitelist`. #1279 |
17 | * [CHANGE] Refactor mdadm collector #1403 | 18 | * [CHANGE] Refactor mdadm collector #1403 |
18 | * [CHANGE] Add `mountaddr` label to NFS metrics. #1417 | 19 | * [CHANGE] Add `mountaddr` label to NFS metrics. #1417 |
20 | * [CHANGE] Don't count empty collectors as success. #... | ||
19 | * [FEATURE] Add new schedstat collector #1389 | 21 | * [FEATURE] Add new schedstat collector #1389 |
20 | * [FEATURE] Add uname support for Darwin and OpenBSD #1433 | 22 | * [FEATURE] Add uname support for Darwin and OpenBSD #1433 |
21 | * [FEATURE] Add new metric node_cpu_info #1489 | 23 | * [FEATURE] Add new metric node_cpu_info #1489 |