Proto.Tracetype span = {trace_id : bytes; |
span_id : bytes; |
trace_state : string; |
parent_span_id : bytes; |
name : string; |
kind : span_span_kind; |
start_time_unix_nano : int64; |
end_time_unix_nano : int64; |
attributes : Opentelemetry__Common_types.key_value list; |
dropped_attributes_count : int32; |
events : span_event list; |
dropped_events_count : int32; |
links : span_link list; |
dropped_links_count : int32; |
status : status option; |
}type instrumentation_library_spans = {instrumentation_library : Opentelemetry__Common_types.instrumentation_library
option; |
spans : span list; |
schema_url : string; |
}type resource_spans = {resource : Opentelemetry__Resource_types.resource option; |
instrumentation_library_spans : instrumentation_library_spans list; |
schema_url : string; |
}val default_span_span_kind : unit -> span_span_kinddefault_span_span_kind () is the default value for type span_span_kind
val default_span_event :
?time_unix_nano:int64 ->
?name:string ->
?attributes:Opentelemetry__Common_types.key_value list ->
?dropped_attributes_count:int32 ->
unit ->
span_eventdefault_span_event () is the default value for type span_event
val default_span_link :
?trace_id:bytes ->
?span_id:bytes ->
?trace_state:string ->
?attributes:Opentelemetry__Common_types.key_value list ->
?dropped_attributes_count:int32 ->
unit ->
span_linkdefault_span_link () is the default value for type span_link
val default_status_status_code : unit -> status_status_codedefault_status_status_code () is the default value for type status_status_code
val default_status :
?message:string ->
?code:status_status_code ->
unit ->
statusdefault_status () is the default value for type status
val default_span :
?trace_id:bytes ->
?span_id:bytes ->
?trace_state:string ->
?parent_span_id:bytes ->
?name:string ->
?kind:span_span_kind ->
?start_time_unix_nano:int64 ->
?end_time_unix_nano:int64 ->
?attributes:Opentelemetry__Common_types.key_value list ->
?dropped_attributes_count:int32 ->
?events:span_event list ->
?dropped_events_count:int32 ->
?links:span_link list ->
?dropped_links_count:int32 ->
?status:status option ->
unit ->
spandefault_span () is the default value for type span
val default_instrumentation_library_spans :
?instrumentation_library:
Opentelemetry__Common_types.instrumentation_library option ->
?spans:span list ->
?schema_url:string ->
unit ->
instrumentation_library_spansdefault_instrumentation_library_spans () is the default value for type instrumentation_library_spans
val default_resource_spans :
?resource:Opentelemetry__Resource_types.resource option ->
?instrumentation_library_spans:instrumentation_library_spans list ->
?schema_url:string ->
unit ->
resource_spansdefault_resource_spans () is the default value for type resource_spans
val default_traces_data :
?resource_spans:resource_spans list ->
unit ->
traces_datadefault_traces_data () is the default value for type traces_data
val pp_span_span_kind :
Stdlib.Format.formatter ->
Opentelemetry__Trace_types.span_span_kind ->
unitpp_span_span_kind v formats v
pp_span_event v formats v
pp_span_link v formats v
val pp_status_status_code :
Stdlib.Format.formatter ->
Opentelemetry__Trace_types.status_status_code ->
unitpp_status_status_code v formats v
pp_status v formats v
val pp_instrumentation_library_spans :
Stdlib.Format.formatter ->
Opentelemetry__Trace_types.instrumentation_library_spans ->
unitpp_instrumentation_library_spans v formats v
encode_span_span_kind v encoder encodes v with the given encoder
encode_span_event v encoder encodes v with the given encoder
encode_span_link v encoder encodes v with the given encoder
val encode_status_status_code :
Opentelemetry__Trace_types.status_status_code ->
Pbrt.Encoder.t ->
unitencode_status_status_code v encoder encodes v with the given encoder
encode_status v encoder encodes v with the given encoder
encode_span v encoder encodes v with the given encoder
val encode_instrumentation_library_spans :
Opentelemetry__Trace_types.instrumentation_library_spans ->
Pbrt.Encoder.t ->
unitencode_instrumentation_library_spans v encoder encodes v with the given encoder
encode_resource_spans v encoder encodes v with the given encoder
encode_traces_data v encoder encodes v with the given encoder
decode_span_span_kind decoder decodes a span_span_kind value from decoder
decode_span_event decoder decodes a span_event value from decoder
decode_span_link decoder decodes a span_link value from decoder
decode_status_status_code decoder decodes a status_status_code value from decoder
decode_status decoder decodes a status value from decoder
decode_span decoder decodes a span value from decoder
val decode_instrumentation_library_spans :
Pbrt.Decoder.t ->
Opentelemetry__Trace_types.instrumentation_library_spansdecode_instrumentation_library_spans decoder decodes a instrumentation_library_spans value from decoder
decode_resource_spans decoder decodes a resource_spans value from decoder