public OtlpGrpcTraceExportClient(OtlpExporterOptions options, OtlpCollector.TraceService.TraceServiceClient traceServiceClient = null) : base(options) { if (traceServiceClient != null) { this.traceClient = traceServiceClient; } else { this.Channel = options.CreateChannel(); this.traceClient = new OtlpCollector.TraceService.TraceServiceClient(this.Channel); } }
public OtlpGrpcMetricsExportClient(OtlpExporterOptions options, OtlpCollector.MetricsService.IMetricsServiceClient metricsServiceClient = null) : base(options) { if (metricsServiceClient != null) { this.metricsClient = metricsServiceClient; } else { this.Channel = options.CreateChannel(); this.metricsClient = new OtlpCollector.MetricsService.MetricsServiceClient(this.Channel); } }
public OtlpGrpcLogExportClient(OtlpExporterOptions options, OtlpCollector.LogsService.ILogsServiceClient logsServiceClient = null) : base(options) { if (logsServiceClient != null) { this.logsClient = logsServiceClient; } else { this.Channel = options.CreateChannel(); this.logsClient = new OtlpCollector.LogsService.LogsServiceClient(this.Channel); } }