CustomMetric
One metric contributed by a third-party MetricProvider (the metrics extension point of the Aalekh SPI). A metric can be system-wide (systemValue), per-module (moduleValues), or both - a provider populates whichever dimensions make sense for it.
This is the serialized, machine-readable shape written to aalekh-custom-metrics.json; the provider interface (com.aalekh.aalekh.analysis.spi.MetricProvider) produces the raw values and the engine assembles them into this envelope.
Parameters
Stable identifier of the contributing provider (its id). Used as the column key and must be unique across loaded providers - a duplicate is dropped.
Human-readable label for reports and the KPI panel.
Optional one-line explanation of what the metric measures.
Optional unit label (e.g. "%", "edges"); empty for a bare number.
The single whole-graph value, or null if the metric is per-module only.
Per-module values keyed by module Gradle path; empty if the metric is system-only.