Task · MDE-0015

Analyze cardinality from one coherent product-only snapshot

Description

PR #733 P2.12, P2.13, and P3.8 remain in core/cardinality.py:32-503 and the cardinality drill-down templates. analyze_cardinality walks the live registry twice and infers self_series by subtraction, so concurrent expiration can make a series count negative. _full_metric_data is populated before product/exporter classification, so product-only drill-down pages include runtime and exporter families. The monitor-own family set also retains hardcoded metric literals. Materialize one snapshot, classify every family once, and derive every report and gauge from that population using enums.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 1 L4: materialize and classify one registry snapshot, then derive every cardinality view from it; root integrates and finalizes.

Final Summary

Implemented and verified in 7327153. Cardinality analysis now uses one coherent snapshot and enum-owned monitor names; full gates passed.

References

View the source file on GitHub