package trace
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A lightweight stub for tracing/observability, agnostic in how data is collected
Install
dune-project
Dependency
Authors
Maintainers
Sources
trace-0.12.tbz
sha256=c173d6bf9433e9eeb41bbddda116a296373d45865841dcbb78bff3be8abd9fd8
sha512=1105c52112095fdc8d4961d7346b02e416627bde6ac79ddd137bff63ac0ff5cd23fa53192be642614efadb9cb0cbb83b7d571bb5a0d100ad0ae6d10bc61d3bba
doc/trace.core/Trace_core/Collector/index.html
Module Trace_core.CollectorSource
A global collector.
The collector, if present, is responsible for collecting messages and spans, and storing them, recording them, forward them, or offering them to other services and processes.
A fake span that never emits data. All collectors should handle this span by doing nothing.
Source
type t = | C_none(*No collector.
*)| C_some : 'st * 'st Callbacks.t -> t(*Collector with a state and some callbacks.
*)
Definition of a collector.
This is only relevant to implementors of tracing backends; to instrument your code you only need to look at the Trace module.
The definition changed since 0.11 to a record of callbacks + a state
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>