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.subscriber/Trace_subscriber/Span_tbl/index.html
Module Trace_subscriber.Span_tbl
Source
A table that can be used to remember information about spans.
This is convenient when we want to rememner information from a span begin, when dealing with the corresponding span end.
NOTE: this is thread safe when threads are enabled.
val create : unit -> 'v t
val add : 'v t -> Trace_core.span -> 'v -> unit
val find_exn : 'v t -> Trace_core.span -> 'v
val remove : _ t -> Trace_core.span -> unit
Remove the span if present
val to_list : 'v t -> (Trace_core.span * 'v) list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>