public MetricPublisher(SampleCollector collector, TelemetryClient telemetryClient)
 {
     this.telemetryClient = telemetryClient;
     this.sampleCollector = collector;
 }
 public ThreadLocalSampleCollector(SampleCollector parent)
 {
     this._parent = parent;
 }