Module Trace_core.Core_ext

A few core extensions.

type Trace_core__.Types.extension_event +=
  1. | Extension_set_thread_name of string
  2. | Extension_set_process_name of string

Additional extensions

type Trace_core__.Types.extension_parameter +=
  1. | Extension_span_flavor of [ `Async | `Sync ]
    (*

    Tell the backend if this is a sync or async span

    *)

Specialized parameters

type Trace_core__.Types.metric +=
  1. | Metric_int of int
    (*

    Int counter or gauge, supported by tracy, TEF, etc

    *)
  2. | Metric_float of float
    (*

    Float counter or gauge, supported by tracy, TEF, etc

    *)