public void GetMoo()
 {
     PdhPathHandler helper = new PdhPathHandler();
     foreach (PdhCounterPathElement element in helper.GetPathElements(new string[] { "\\PhysicalDisk(*)\\Avg. Disk sec/Write", "\\Paging File(*)\\% Usage" }))
     {
         System.Console.WriteLine(string.Format("moo: {0}", element.ToString()));
     }
 }
        public PerfCounterReporter(MetricsReport report, TimeSpan interval, ICounterSamplingConfiguration counterSamplingConfig)
        {
            _report = report;
            _counterSamplingConfig = counterSamplingConfig;

            _handler = new PdhPathHandler();
            _healthStatus = new HealthStatus();
            _timers = new ConcurrentDictionary<string, MetricInfo>();
            _currentMetrics = new Dictionary<string, MetricInfo>();

            _couunterReporters = new List<CounterReporter>();

            this._reportScheduler = new ActionScheduler();
            this._reportScheduler.Start(interval, t => RunReport(t));
            this._timerScheduler = new ActionScheduler();
            this._timerScheduler.Start(TimeSpan.FromSeconds(1), t => ReportMetrics());
        }