OpenTelemetry.Proto.Collector.Trace.V1.TraceService
Service that can be used to push spans between one Application instrumented with
OpenTelemetry and a collector, or between a collector and a central collector (in this
case spans are sent/received to/from multiple Applications).
namespace OpenTelemetry.Proto.Collector.Trace.V1
{
internal static class TraceService
{
public abstract class TraceServiceBase
{
public virtual Task<ExportTraceServiceResponse> Export(ExportTraceServiceRequest request, ServerCallContext context);
protected TraceServiceBase();
}
public class TraceServiceClient
{
public TraceServiceClient(ChannelBase channel);
public TraceServiceClient(CallInvoker callInvoker);
protected TraceServiceClient();
protected TraceServiceClient(ClientBaseConfiguration configuration);
public virtual ExportTraceServiceResponse Export(ExportTraceServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime?), CancellationToken cancellationToken = default(CancellationToken));
public virtual ExportTraceServiceResponse Export(ExportTraceServiceRequest request, CallOptions options);
public virtual AsyncUnaryCall<ExportTraceServiceResponse> ExportAsync(ExportTraceServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime?), CancellationToken cancellationToken = default(CancellationToken));
public virtual AsyncUnaryCall<ExportTraceServiceResponse> ExportAsync(ExportTraceServiceRequest request, CallOptions options);
}
public static ServiceDescriptor Descriptor { get; }
public static ServerServiceDefinition BindService(TraceServiceBase serviceImpl);
public static void BindService(ServiceBinderBase serviceBinder, TraceServiceBase serviceImpl);
}
}