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/Callbacks/Dummy/index.html
Module Callbacks.Dummy
Source
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 = ...
end
Source
val on_enter_span :
'a ->
__FUNCTION__:'b ->
__FILE__:'c ->
__LINE__:'d ->
time_ns:'e ->
tid:'f ->
data:'g ->
name:'h ->
'i ->
unit
Source
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 ->
unit
Source
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)"
>