MetricPathProvider refactoring