public void ResolveMetricNames() { string path = @"c:\statisfy"; var metricRegistry = new MetricRegistry(Path.GetFullPath(path).Replace(@"file:"", string.Empty)); var metricNames = metricRegistry.ResolveMetricNames("servers.*.system.{processor,memory}.*").ToList(); }