package trace-tef

  1. Overview
  2. Docs

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