From f07bf351629b032b7d6f39bcc12878a470ab4bad Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Wed, 28 Oct 2026 21:08:51 +0100 Subject: [PATCH] Fix Darwin fixture Mark the Darwin `node_memory_total_bytes` metric as unstable as it depends on the size of the runner. Signed-off-by: Ben Kochie --- collector/fixtures/e2e-output-darwin.txt | 3 --- end-to-end-test.sh | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/collector/fixtures/e2e-output-darwin.txt b/collector/fixtures/e2e-output-darwin.txt index b9183e39ff..4b585f45d4 100644 --- a/collector/fixtures/e2e-output-darwin.txt +++ b/collector/fixtures/e2e-output-darwin.txt @@ -111,9 +111,6 @@ node_memory_swap_total_bytes 0 # HELP node_memory_swap_used_bytes Memory information field swap_used_bytes. # TYPE node_memory_swap_used_bytes gauge node_memory_swap_used_bytes 0 -# HELP node_memory_total_bytes Memory information field total_bytes. -# TYPE node_memory_total_bytes gauge -node_memory_total_bytes 7.516192768e+09 # HELP node_network_noproto_total Network device statistic noproto. # TYPE node_network_noproto_total counter node_network_noproto_total{device="lo0"} 0 diff --git a/end-to-end-test.sh b/end-to-end-test.sh index 2c947d8446..c50e746aac 100755 --- a/end-to-end-test.sh +++ b/end-to-end-test.sh @@ -368,6 +368,7 @@ non_deterministic_metrics=$(cat << METRICS node_memory_swapped_in_bytes_total node_memory_swapped_out_bytes_total node_memory_swap_size_bytes + node_memory_total_bytes node_memory_wired_bytes node_netstat_tcp_receive_packets_total node_netstat_tcp_transmit_packets_total