View Source opentelemetry_logs_service (opentelemetry_exporter v1.8.0)

Client module for grpc service opentelemetry.proto.collector.logs.v1.LogsService.

Summary

Functions

-spec export(opentelemetry_exporter_logs_service_pb:export_logs_service_request()) ->
          {ok,
           opentelemetry_exporter_logs_service_pb:export_logs_service_response(),
           grpcbox:metadata()} |
          grpcbox_stream:grpc_error_response() |
          {error, any()}.
Unary RPC
-spec export(ctx:t() | opentelemetry_exporter_logs_service_pb:export_logs_service_request(),
       opentelemetry_exporter_logs_service_pb:export_logs_service_request() |
       grpcbox_client:options()) ->
          {ok,
           opentelemetry_exporter_logs_service_pb:export_logs_service_response(),
           grpcbox:metadata()} |
          grpcbox_stream:grpc_error_response() |
          {error, any()}.
Link to this function

export(Ctx, Input, Options)

View Source
-spec export(ctx:t(),
       opentelemetry_exporter_logs_service_pb:export_logs_service_request(),
       grpcbox_client:options()) ->
          {ok,
           opentelemetry_exporter_logs_service_pb:export_logs_service_response(),
           grpcbox:metadata()} |
          grpcbox_stream:grpc_error_response() |
          {error, any()}.