Opentelemetry_client.SignalConstructing and managing OTel signals
type t = | Traces of Opentelemetry_proto.Trace.resource_spans list| Metrics of Opentelemetry_proto.Metrics.resource_metrics list| Logs of Opentelemetry_proto.Logs.resource_logs listThe type of signals
This is not the principle type of signals from the perspective of what gets encoded and sent via protocl buffers, but it is the principle type that collector clients needs to reason about.
val to_traces : t -> Opentelemetry_proto.Trace.resource_spans list optionval to_metrics : t -> Opentelemetry_proto.Metrics.resource_metrics list optionval to_logs : t -> Opentelemetry_proto.Logs.resource_logs list optionval is_traces : t -> boolval is_metrics : t -> boolval is_logs : t -> boolmodule Encode : sig ... endEncode signals to protobuf encoded strings, ready to be sent over the wire
module Decode : sig ... endDecode signals from protobuf encoded strings, received over the wire
module Pp : sig ... end