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/trace.subscriber/Trace_subscriber/Callbacks/Dummy/index.html
Module Callbacks.DummySource
Dummy callbacks. It can be useful to reuse some of these functions in a real subscriber that doesn't want to handle all events, but only some of them.
To write a subscriber that only supports some callbacks, this can be handy:
module My_callbacks = struct
type st = my_own_state
include Callbacks.Dummy
let on_counter (st:st) ~time_ns ~tid ~data ~name v : unit = ...
endSource
val on_enter_span :
'a ->
__FUNCTION__:'b ->
__FILE__:'c ->
__LINE__:'d ->
time_ns:'e ->
tid:'f ->
data:'g ->
name:'h ->
'i ->
unitSource
val on_enter_manual_span :
'a ->
__FUNCTION__:'b ->
__FILE__:'c ->
__LINE__:'d ->
time_ns:'e ->
tid:'f ->
parent:'g ->
data:'h ->
name:'i ->
flavor:'j ->
trace_id:'k ->
'l ->
unitSource
val on_exit_manual_span :
'a ->
time_ns:'b ->
tid:'c ->
name:'d ->
data:'e ->
flavor:'f ->
trace_id:'g ->
'h ->
unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>