예제 #1
0
 public LightStepTraceExporter(LightStepTraceExporterOptions options, HttpClient client = null)
 {
     this.options            = options;
     this.httpClient         = client ?? new HttpClient();
     this.httpClient.Timeout = this.options.SatelliteTimeout;
 }
예제 #2
0
 public LightStepTraceExporter(LightStepTraceExporterOptions options, ISpanExporter exporter, HttpClient client = null)
 {
     this.options    = options;
     this.exporter   = exporter;
     this.httpClient = client;
 }