fixed unit-test expected output

Signed-off-by: Finomosec <github@meinebasis.de>
This commit is contained in:
Finomosec 2024-05-09 11:33:39 +02:00
parent 6df22223df
commit cf0dffe8dc
2 changed files with 76 additions and 76 deletions

View file

@ -1559,25 +1559,25 @@ node_md_blocks_synced{device="md6"} 1.6775552e+07
node_md_blocks_synced{device="md7"} 7.813735424e+09
node_md_blocks_synced{device="md8"} 1.6775552e+07
node_md_blocks_synced{device="md9"} 0
# HELP node_md_blocks_synced_pct Percentage of blocks synced on device.
# TYPE node_md_blocks_synced_pct gauge
node_md_blocks_synced_pct{device="md0"} 0
node_md_blocks_synced_pct{device="md00"} 0
node_md_blocks_synced_pct{device="md10"} 0
node_md_blocks_synced_pct{device="md101"} 0
node_md_blocks_synced_pct{device="md11"} 0
node_md_blocks_synced_pct{device="md12"} 0
node_md_blocks_synced_pct{device="md120"} 0
node_md_blocks_synced_pct{device="md126"} 0
node_md_blocks_synced_pct{device="md127"} 0
node_md_blocks_synced_pct{device="md201"} 5.7
node_md_blocks_synced_pct{device="md219"} 0
node_md_blocks_synced_pct{device="md3"} 0
node_md_blocks_synced_pct{device="md4"} 0
node_md_blocks_synced_pct{device="md6"} 8.5
node_md_blocks_synced_pct{device="md7"} 0
node_md_blocks_synced_pct{device="md8"} 8.5
node_md_blocks_synced_pct{device="md9"} 0
# HELP node_md_blocks_synced_percent Percentage of blocks synced on device.
# TYPE node_md_blocks_synced_percent gauge
node_md_blocks_synced_percent{device="md0"} 0
node_md_blocks_synced_percent{device="md00"} 0
node_md_blocks_synced_percent{device="md10"} 0
node_md_blocks_synced_percent{device="md101"} 0
node_md_blocks_synced_percent{device="md11"} 0
node_md_blocks_synced_percent{device="md12"} 0
node_md_blocks_synced_percent{device="md120"} 0
node_md_blocks_synced_percent{device="md126"} 0
node_md_blocks_synced_percent{device="md127"} 0
node_md_blocks_synced_percent{device="md201"} 5.7
node_md_blocks_synced_percent{device="md219"} 0
node_md_blocks_synced_percent{device="md3"} 0
node_md_blocks_synced_percent{device="md4"} 0
node_md_blocks_synced_percent{device="md6"} 8.5
node_md_blocks_synced_percent{device="md7"} 0
node_md_blocks_synced_percent{device="md8"} 8.5
node_md_blocks_synced_percent{device="md9"} 0
# HELP node_md_blocks_synced_speed current sync speed (in Kilobytes/sec)
# TYPE node_md_blocks_synced_speed gauge
node_md_blocks_synced_speed{device="md0"} 0
@ -1773,25 +1773,25 @@ node_md_state{device="md9",state="check"} 0
node_md_state{device="md9",state="inactive"} 0
node_md_state{device="md9",state="recovering"} 0
node_md_state{device="md9",state="resync"} 1
# HELP node_md_sync_time_remaining Estimated finishing time for current sync in seconds.
# TYPE node_md_sync_time_remaining gauge
node_md_sync_time_remaining{device="md0"} 0
node_md_sync_time_remaining{device="md00"} 0
node_md_sync_time_remaining{device="md10"} 0
node_md_sync_time_remaining{device="md101"} 0
node_md_sync_time_remaining{device="md11"} 0
node_md_sync_time_remaining{device="md12"} 0
node_md_sync_time_remaining{device="md120"} 0
node_md_sync_time_remaining{device="md126"} 0
node_md_sync_time_remaining{device="md127"} 0
node_md_sync_time_remaining{device="md201"} 12
node_md_sync_time_remaining{device="md219"} 0
node_md_sync_time_remaining{device="md3"} 0
node_md_sync_time_remaining{device="md4"} 0
node_md_sync_time_remaining{device="md6"} 1020
node_md_sync_time_remaining{device="md7"} 0
node_md_sync_time_remaining{device="md8"} 1020
node_md_sync_time_remaining{device="md9"} 0
# HELP node_md_sync_time_remaining_seconds Estimated finishing time for current sync in seconds.
# TYPE node_md_sync_time_remaining_seconds gauge
node_md_sync_time_remaining_seconds{device="md0"} 0
node_md_sync_time_remaining_seconds{device="md00"} 0
node_md_sync_time_remaining_seconds{device="md10"} 0
node_md_sync_time_remaining_seconds{device="md101"} 0
node_md_sync_time_remaining_seconds{device="md11"} 0
node_md_sync_time_remaining_seconds{device="md12"} 0
node_md_sync_time_remaining_seconds{device="md120"} 0
node_md_sync_time_remaining_seconds{device="md126"} 0
node_md_sync_time_remaining_seconds{device="md127"} 0
node_md_sync_time_remaining_seconds{device="md201"} 12
node_md_sync_time_remaining_seconds{device="md219"} 0
node_md_sync_time_remaining_seconds{device="md3"} 0
node_md_sync_time_remaining_seconds{device="md4"} 0
node_md_sync_time_remaining_seconds{device="md6"} 1020
node_md_sync_time_remaining_seconds{device="md7"} 0
node_md_sync_time_remaining_seconds{device="md8"} 1020
node_md_sync_time_remaining_seconds{device="md9"} 0
# HELP node_memory_Active_anon_bytes Memory information field Active_anon_bytes.
# TYPE node_memory_Active_anon_bytes gauge
node_memory_Active_anon_bytes 2.068484096e+09

View file

@ -1581,25 +1581,25 @@ node_md_blocks_synced{device="md6"} 1.6775552e+07
node_md_blocks_synced{device="md7"} 7.813735424e+09
node_md_blocks_synced{device="md8"} 1.6775552e+07
node_md_blocks_synced{device="md9"} 0
# HELP node_md_blocks_synced_pct Percentage of blocks synced on device.
# TYPE node_md_blocks_synced_pct gauge
node_md_blocks_synced_pct{device="md0"} 0
node_md_blocks_synced_pct{device="md00"} 0
node_md_blocks_synced_pct{device="md10"} 0
node_md_blocks_synced_pct{device="md101"} 0
node_md_blocks_synced_pct{device="md11"} 0
node_md_blocks_synced_pct{device="md12"} 0
node_md_blocks_synced_pct{device="md120"} 0
node_md_blocks_synced_pct{device="md126"} 0
node_md_blocks_synced_pct{device="md127"} 0
node_md_blocks_synced_pct{device="md201"} 5.7
node_md_blocks_synced_pct{device="md219"} 0
node_md_blocks_synced_pct{device="md3"} 0
node_md_blocks_synced_pct{device="md4"} 0
node_md_blocks_synced_pct{device="md6"} 8.5
node_md_blocks_synced_pct{device="md7"} 0
node_md_blocks_synced_pct{device="md8"} 8.5
node_md_blocks_synced_pct{device="md9"} 0
# HELP node_md_blocks_synced_percent Percentage of blocks synced on device.
# TYPE node_md_blocks_synced_percent gauge
node_md_blocks_synced_percent{device="md0"} 0
node_md_blocks_synced_percent{device="md00"} 0
node_md_blocks_synced_percent{device="md10"} 0
node_md_blocks_synced_percent{device="md101"} 0
node_md_blocks_synced_percent{device="md11"} 0
node_md_blocks_synced_percent{device="md12"} 0
node_md_blocks_synced_percent{device="md120"} 0
node_md_blocks_synced_percent{device="md126"} 0
node_md_blocks_synced_percent{device="md127"} 0
node_md_blocks_synced_percent{device="md201"} 5.7
node_md_blocks_synced_percent{device="md219"} 0
node_md_blocks_synced_percent{device="md3"} 0
node_md_blocks_synced_percent{device="md4"} 0
node_md_blocks_synced_percent{device="md6"} 8.5
node_md_blocks_synced_percent{device="md7"} 0
node_md_blocks_synced_percent{device="md8"} 8.5
node_md_blocks_synced_percent{device="md9"} 0
# HELP node_md_blocks_synced_speed current sync speed (in Kilobytes/sec)
# TYPE node_md_blocks_synced_speed gauge
node_md_blocks_synced_speed{device="md0"} 0
@ -1795,25 +1795,25 @@ node_md_state{device="md9",state="check"} 0
node_md_state{device="md9",state="inactive"} 0
node_md_state{device="md9",state="recovering"} 0
node_md_state{device="md9",state="resync"} 1
# HELP node_md_sync_time_remaining Estimated finishing time for current sync in seconds.
# TYPE node_md_sync_time_remaining gauge
node_md_sync_time_remaining{device="md0"} 0
node_md_sync_time_remaining{device="md00"} 0
node_md_sync_time_remaining{device="md10"} 0
node_md_sync_time_remaining{device="md101"} 0
node_md_sync_time_remaining{device="md11"} 0
node_md_sync_time_remaining{device="md12"} 0
node_md_sync_time_remaining{device="md120"} 0
node_md_sync_time_remaining{device="md126"} 0
node_md_sync_time_remaining{device="md127"} 0
node_md_sync_time_remaining{device="md201"} 12
node_md_sync_time_remaining{device="md219"} 0
node_md_sync_time_remaining{device="md3"} 0
node_md_sync_time_remaining{device="md4"} 0
node_md_sync_time_remaining{device="md6"} 1020
node_md_sync_time_remaining{device="md7"} 0
node_md_sync_time_remaining{device="md8"} 1020
node_md_sync_time_remaining{device="md9"} 0
# HELP node_md_sync_time_remaining_seconds Estimated finishing time for current sync in seconds.
# TYPE node_md_sync_time_remaining_seconds gauge
node_md_sync_time_remaining_seconds{device="md0"} 0
node_md_sync_time_remaining_seconds{device="md00"} 0
node_md_sync_time_remaining_seconds{device="md10"} 0
node_md_sync_time_remaining_seconds{device="md101"} 0
node_md_sync_time_remaining_seconds{device="md11"} 0
node_md_sync_time_remaining_seconds{device="md12"} 0
node_md_sync_time_remaining_seconds{device="md120"} 0
node_md_sync_time_remaining_seconds{device="md126"} 0
node_md_sync_time_remaining_seconds{device="md127"} 0
node_md_sync_time_remaining_seconds{device="md201"} 12
node_md_sync_time_remaining_seconds{device="md219"} 0
node_md_sync_time_remaining_seconds{device="md3"} 0
node_md_sync_time_remaining_seconds{device="md4"} 0
node_md_sync_time_remaining_seconds{device="md6"} 1020
node_md_sync_time_remaining_seconds{device="md7"} 0
node_md_sync_time_remaining_seconds{device="md8"} 1020
node_md_sync_time_remaining_seconds{device="md9"} 0
# HELP node_memory_Active_anon_bytes Memory information field Active_anon_bytes.
# TYPE node_memory_Active_anon_bytes gauge
node_memory_Active_anon_bytes 2.068484096e+09