Task · CFO-0071

Zero-initialise scrape error counters for enabled collectors

Description

A never-failing collector has no error series, so error-counter coverage cannot distinguish a healthy collector from one that is not reporting. Loop 16 makes zero points visible without changing the attempts-equals-successes delivery witness.

Acceptance Criteria

Definition of Done

Implementation Plan

ZERO initialises existing error and window-commit counters on enabled registration, proves zero points and subsequent classified failures through real SDK export, then runs the lane gate and CodeRabbit before exact-SHA review.

Implementation Notes

Loop16 ZERO-I1 consumed one implementation attempt, zero infra retries. Real-SDK zero-point witness and CodeRabbit passed, required gate failed because existing error-class test expected one point and now sees the intended registered selfobs zero point. ZERO-I2 is authorised to update the point-set assertion without weakening fixture class, count or bounded attributes, then rerun gate and review. No candidate committed or live claim.

Loop16 ZERO source accepted on REV-ZERO PASS 43d9c70305c7706a971d326a6e60ef81177fa9a3. Independent reviewer copied only new test onto literal unchanged base, compiled and failed missing-zero assertion; exact candidate passed real-SDK OTLP and dry-run boundaries. Intended error-class point-set update retained all fixture assertions. Two implementation attempts consumed, review-repair zero, infrastructure zero. Exact patch cherry-picked as ca6e69e and pushed in 4f14d92189703ab26752f663d5c6b3502e0e2da4, integrated gate passed. AC3 remains live-only parked behind failed deploy-kit acceptance; running release is unchanged. Landing CI pending watcher.

Final Summary

Deployed0.16.0 DEP1 healthy with exact image/hash/process and monotonic checkpoints. HOUR1 passed65continuousminutes,49enabled collectors with attempts equal successes, single instance/no reset/age gaps, scrape-error series present for all49. Released/deployed zero counters sustained, source tests already checked. Private hour1/health receipts retained outside repository; no error absence proxy used.

View the source file on GitHub