node_aggregator
qoa4ml.observability.odop_obs.node_aggregator
¶
Classes¶
NodeAggregator
¶
Functions¶
convert_unit(report)
¶
Translate unit strings via self.unit_conversion, tolerating misses.
Keys that begin with metadata are skipped so metadata fields
never get unit-converted even if they happen to contain substrings
like mem/cpu/gpu. Unit strings not present in the map
pass through unchanged rather than raising KeyError — a
producer that emits a new unit can't poison the whole frame.