From 3f49b3110154aeedcb9753b92fad64986e8aec54 Mon Sep 17 00:00:00 2001 From: Advait Bhatwadekar Date: Mon, 1 Jul 2019 05:56:06 -0400 Subject: Closes issue #261 on node_exporter. (#1403) * Closes issue #261 on node_exporter. Delegated mdstat parsing to procfs project. mdadm_linux.go now only exports the metrics. -> Added disk labels: "fail", "spare", "active" to indicate disk status -> hanged metric node_md_disks_total ==> node_md_disks_required -> Removed test cases for mdadm_linux.go, as the functionality they tested for has been moved to procfs project. Signed-off-by: Advait Bhatwadekar --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 3264fd3..21599c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,15 @@ * The netdev collector CLI argument `--collector.netdev.ignored-devices` was renamed to `--collector.netdev.device-blacklist` in order to conform with the systemd collector. #1279 * The label named `state` on `node_systemd_service_restart_total` metrics was changed to `name` to better describe the metric. #1393 - +* Refactoring of the mdadm collector changes several metrics + - `node_md_disks_active` is removed + - `node_md_disks` now has a `state` label for "fail", "spare", "active" disks. + - `node_md_is_active` is replaced by `node_md_state` with a state set of "active", "inactive", "recovering", "resync". ### Changes * [CHANGE] Add `--collector.netdev.device-whitelist`. #1279 +* [CHANGE] Refactor mdadm collector #1403 * [FEATURE] * [ENHANCEMENT] * [BUGFIX] Renamed label `state` to `name` on `node_systemd_service_restart_total`. #1393 -- cgit v1.2.3