Pulse/pkg/metrics
pulse-triage[bot] ad5cbd7ee0 test(metrics): distinguish process writes from device wear
The persistence profile labelled /proc/self/io write_bytes as physical writes, which could mislead release qualification into attributing process accounting to device wear. Report process writes and cancellation separately, preserving unavailable counters as unknown rather than implying zero.

Add focused accounting coverage for malformed, missing, overflowing and decreasing counters. This is diagnostic-only: it neither changes runtime persistence nor establishes installed write cost or release readiness.

Validation: focused TestIssue1124ProcessIOAccounting and serialised persistence profile passed before this message-only repair; git diff --check passed. The tested tree is unchanged.

Change-source: pulse-maintainer
2026-09-05 11:08:05 +01:00
..
alert_metrics.go feat(enterprise): add Advanced Reporting and Audit Webhooks integration 2026-01-09 21:31:49 +00:00
alert_metrics_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
availability_history.go Add availability history and fleet view 2026-08-30 15:38:34 +01:00
availability_history_test.go Add availability history and fleet view 2026-08-30 15:38:34 +01:00
directory_owner_other.go Protect shared metrics database directories 2026-08-11 15:57:17 +01:00
directory_owner_unix.go Protect shared metrics database directories 2026-08-11 15:57:17 +01:00
issue1124_write_amplification_test.go test(metrics): distinguish process writes from device wear 2026-09-05 11:08:05 +01:00
norace_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
race_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
store.go Capture the metrics startup hook per store to end a test flake 2026-09-02 14:32:23 +01:00
store_additional_test.go Merge current Pulse upstream for publication 2026-09-02 16:09:57 +01:00
store_bench_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
store_downsample_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
store_loadtest_test.go Bound metrics rollup working set 2026-07-03 20:35:02 +01:00
store_query_plan_test.go Add availability history and fleet view 2026-08-30 15:38:34 +01:00
store_series_coverage_test.go fix(mock): backfill the metrics store in mock mode so reports get real history 2026-06-10 21:25:02 +01:00
store_slo_test.go Bound metrics rollup working set 2026-07-03 20:35:02 +01:00
store_test.go Preserve customer data across plan downgrades 2026-07-14 11:47:25 +01:00
store_write_backpressure_test.go Split bounded pipeline metrics writes from synchronous batch writes 2026-08-11 14:42:42 +01:00