Skip to content

Commit 78150d9

Browse files
committed
unit test: machine_swap_bytes
Signed-off-by: Itamar Holder <[email protected]>
1 parent 26c4dc6 commit 78150d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

metrics/testdata/prometheus_machine_metrics

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ machine_nvm_capacity{boot_id="boot-id-test",machine_id="machine-id-test",mode="m
7171
# HELP machine_scrape_error 1 if there was an error while getting machine metrics, 0 otherwise.
7272
# TYPE machine_scrape_error gauge
7373
machine_scrape_error 0
74+
# HELP machine_swap_bytes Amount of swap memory available on the machine.
75+
# TYPE machine_swap_bytes gauge
76+
machine_swap_bytes{boot_id="boot-id-test",machine_id="machine-id-test",system_uuid="system-uuid-test"} 0 1395066363000
7477
# HELP machine_thread_siblings_count Number of CPU thread siblings.
7578
# TYPE machine_thread_siblings_count gauge
7679
machine_thread_siblings_count{boot_id="boot-id-test",core_id="0",machine_id="machine-id-test",node_id="0",system_uuid="system-uuid-test",thread_id="0"} 2 1395066363000

0 commit comments

Comments
 (0)