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