package trace-tef

  1. Overview
  2. Docs
A simple backend for trace, emitting Catapult/TEF JSON into a file

Install

dune-project
 Dependency

Authors

Maintainers

Sources

trace-0.12.tbz
sha256=c173d6bf9433e9eeb41bbddda116a296373d45865841dcbb78bff3be8abd9fd8
sha512=1105c52112095fdc8d4961d7346b02e416627bde6ac79ddd137bff63ac0ff5cd23fa53192be642614efadb9cb0cbb83b7d571bb5a0d100ad0ae6d10bc61d3bba

doc/trace-tef/Trace_tef/Collector_tef/index.html

Module Trace_tef.Collector_tefSource

Sourcemodule Buf_pool : sig ... end
Sourcetype t

Main state.

Sourceval create : ?buf_pool:Buf_pool.t -> pid:int -> exporter:Exporter.t -> unit -> t

Create a fresh state.

Sourceval flush : t -> unit
Sourceval close : t -> unit
Sourceval active : t -> bool
Sourceval callbacks_collector : t Trace_core.Collector.Callbacks.t

Callbacks used for the subscriber

Sourceval collector : t -> Trace_core.Collector.t

Subscriber that writes json into this writer