package trace

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

trace-0.10.1.tbz
sha256=0b5121a2b3ca0f0d850017865333259f313ce83f77bba54da956f9cafbba6e34
sha512=06476b3b450d3f382ba7e5287591e2bb0f928d38b698af0bd6083d1518fcac93bf498815710d26ecbe9c80c71888638919c0166a79e447ee64ed625afd56dc4b

doc/src/trace.subscriber/types.ml.html

Source file types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
(** Some core types for subscribers. *)

type user_data =
  | U_bool of bool
  | U_float of float
  | U_int of int
  | U_none
  | U_string of string
      (** A non polymorphic-variant version of {!Trace_core.user_data} *)

type flavor =
  | Sync
  | Async  (** A non polymorphic-variant version of {!Trace_core.flavor} *)