package trace
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A stub for tracing/observability, agnostic in how data is collected
Install
dune-project
Dependency
Authors
Maintainers
Sources
trace-0.10.1.tbz
sha256=0b5121a2b3ca0f0d850017865333259f313ce83f77bba54da956f9cafbba6e34
sha512=06476b3b450d3f382ba7e5287591e2bb0f928d38b698af0bd6083d1518fcac93bf498815710d26ecbe9c80c71888638919c0166a79e447ee64ed625afd56dc4b
doc/src/trace.event/event.ml.html
Source file event.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68(** Events. Each callback in a subscriber corresponds to an event, which can be for example queued somewhere or batched for further processing. *) open Trace_core module Sub = Trace_subscriber (** An event with TEF/fuchsia semantics *) type t = | E_tick | E_init of { time_ns: int64 } | E_shutdown of { time_ns: int64 } | 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: span; fun_name: string option; data: (string * Sub.user_data) list; } | E_exit_span of { id: span; time_ns: int64; } | E_add_data of { id: span; data: (string * Sub.user_data) list; } | E_enter_manual_span of { tid: int; name: string; time_ns: int64; id: 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_id; } | E_counter of { name: string; tid: int; time_ns: int64; n: float; } | E_name_process of { name: string } | E_name_thread of { tid: int; name: string; } | E_extension_event of { tid: int; time_ns: int64; ext: Trace_core.extension_event; }
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>