public void StopAndRecordMetric()
 {
     _stopWatch.Stop();
     _agentHealthReporter.ReportAgentTimingMetric(_eventName, _stopWatch.Elapsed);
 }