/// <summary>
 ///     Closes the reporter for this tracer.
 /// </summary>
 public void Close()
 {
     reporter.Close();
     sdkMetricsRegistry?.Dispose();
     metricsScheduler?.Dispose();
     heartbeaterService?.Dispose();
 }
 public void Dispose()
 {
     _heartbeaterService.Dispose();
 }