package trace
A stub for tracing/observability, agnostic in how data is collected
Install
Dune Dependency
Authors
Maintainers
Sources
trace-0.10.tbz
sha256=c5a43827bbd5521e779c8856e44f4c718dccda902d00a242b598516110ada04d
sha512=f19cb25a767ed428cb1d4a497312267524bfaaf9550caa5fc1e84809494f0b7eaf26030d95563c75dea66606fcbec1be7e34baa4cba86fc57d64bc5d5b98efd5
doc/trace.event/Trace_event/Event/index.html
Module Trace_event.Event
Source
Events.
Each callback in a subscriber corresponds to an event, which can be for example queued somewhere or batched for further processing.
Source
type t =
| E_tick
| E_init of {
}
| E_shutdown of {
}
| E_message of {
tid : int;
msg : string;
time_ns : int64;
data : (string * Sub.user_data) list;
}
| E_define_span of {
tid : int;
name : string;
time_ns : int64;
id : Trace_core.span;
fun_name : string option;
data : (string * Sub.user_data) list;
}
| E_exit_span of {
id : Trace_core.span;
time_ns : int64;
}
| E_add_data of {
id : Trace_core.span;
data : (string * Sub.user_data) list;
}
| E_enter_manual_span of {
tid : int;
name : string;
time_ns : int64;
id : Trace_core.trace_id;
flavor : Sub.flavor option;
fun_name : string option;
data : (string * Sub.user_data) list;
}
| E_exit_manual_span of {
tid : int;
name : string;
time_ns : int64;
flavor : Sub.flavor option;
data : (string * Sub.user_data) list;
id : Trace_core.trace_id;
}
| E_counter of {
}
| E_name_process of {
}
| E_name_thread of {
}
| E_extension_event of {
tid : int;
time_ns : int64;
ext : Trace_core.extension_event;
}
An event with TEF/fuchsia semantics
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>