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/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)"
>