MetricFactory
Factory for creating metrics for individual nodes.
Implementations create MetricGroup objects for specific node types. Returns null if no metric should be created for a given node.
Parameters
NodeT
the type of nodes this factory creates metrics for