Metrics made modular