package trace

  1. Overview
  2. Docs
A stub for tracing/observability, agnostic in how data is collected

Install

Dune Dependency

Authors

Maintainers

Sources

trace-0.9.1.tbz
sha256=9739d5f46becb407e96943f4f0d6d0919e03c14299ab9c2ddbb8d46b6f7a3ea4
sha512=500230dedc834cbb8535a1624408c2f0e67683bacef5e4a55b7639c4013f6247d3aa4cbc56b61810d0138f736c1245b6b334bd3991c2e86d03faee47b729c547

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.

Sourceval on_init : 'a -> time_ns:'b -> unit
Sourceval on_shutdown : 'a -> time_ns:'b -> unit
Sourceval on_name_thread : 'a -> time_ns:'b -> tid:'c -> name:'d -> unit
Sourceval on_name_process : 'a -> time_ns:'b -> tid:'c -> name:'d -> unit
Sourceval on_message : 'a -> time_ns:'b -> tid:'c -> span:'d -> data:'e -> 'f -> unit
Sourceval on_counter : 'a -> time_ns:'b -> tid:'c -> data:'d -> name:'e -> 'f -> unit
Sourceval on_enter_span : 'a -> __FUNCTION__:'b -> __FILE__:'c -> __LINE__:'d -> time_ns:'e -> tid:'f -> data:'g -> name:'h -> 'i -> unit
Sourceval on_exit_span : 'a -> time_ns:'b -> tid:'c -> 'd -> unit
Sourceval on_add_data : 'a -> data:'b -> 'c -> unit
Sourceval 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
Sourceval on_exit_manual_span : 'a -> time_ns:'b -> tid:'c -> name:'d -> data:'e -> flavor:'f -> trace_id:'g -> 'h -> unit
Sourceval on_extension_event : 'a -> time_ns:'b -> tid:'c -> 'd -> unit
OCaml

Innovation. Community. Security.