View Source opentelemetry_trace_service (opentelemetry_exporter v1.8.0)

Client module for grpc service opentelemetry.proto.collector.trace.v1.TraceService.

Summary

Functions

-spec export(opentelemetry_exporter_trace_service_pb:export_trace_service_request()) ->
          {ok,
           opentelemetry_exporter_trace_service_pb:export_trace_service_response(),
           grpcbox:metadata()} |
          grpcbox_stream:grpc_error_response() |
          {error, any()}.
Unary RPC
-spec export(ctx:t() | opentelemetry_exporter_trace_service_pb:export_trace_service_request(),
       opentelemetry_exporter_trace_service_pb:export_trace_service_request() |
       grpcbox_client:options()) ->
          {ok,
           opentelemetry_exporter_trace_service_pb:export_trace_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_trace_service_pb:export_trace_service_request(),
       grpcbox_client:options()) ->
          {ok,
           opentelemetry_exporter_trace_service_pb:export_trace_service_response(),
           grpcbox:metadata()} |
          grpcbox_stream:grpc_error_response() |
          {error, any()}.