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