Resource_signal.EncodeEncode signals to protobuf or JSON encoded strings, ready to be sent over the wire
val logs :
?encoder:Pbrt.Encoder.t ->
?protocol:protocol ->
Opentelemetry_proto.Logs.resource_logs list ->
stringlogs ls is an encoded string of the logs ls.
val metrics :
?encoder:Pbrt.Encoder.t ->
?protocol:protocol ->
Opentelemetry_proto.Metrics.resource_metrics list ->
stringmetrics ms is an encoded string of the metrics ms.
val traces :
?encoder:Pbrt.Encoder.t ->
?protocol:protocol ->
Opentelemetry_proto.Trace.resource_spans list ->
stringtraces ts is an encoded string of the traces ts.
val any : ?encoder:Pbrt.Encoder.t -> ?protocol:protocol -> t -> string