private IEnumerable<string> GetCounters(CounterElement counter, HostElement host, string instance)
        {
            if (counter.Name != "*")
                return new []{ counter.Name };

            return PerformanceCounterHelper.GetCounterNames(counter.Category, instance, host.Name);
        }
        private IEnumerable<string> GetInstances(CounterElement counter, HostElement host)
        {
            if (counter.Instance != "*")
                return new[] { counter.Instance };

            return PerformanceCounterHelper.GetCounterInstances(counter.Category, host.Name);
        }