package trace

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

trace-0.11.tbz
sha256=a29329fcfb191a98bfed26c05c300ed9e1e915b73cc59f51e9d9cdc4d1f158bc
sha512=ff77a4ef19375f4ad3b1ddff7336657a4a5695924b679ac2c36a77b14b95c63d126539efd1590f83b415a1288bb843a5fb4308e53a807dcc22456cb40a8e0026

doc/trace.core/Trace_core/Core_ext/index.html

Module Trace_core.Core_extSource

A few core extensions.

  • since NEXT_RELEASE
Sourcetype Trace_core__.Types.extension_event +=
  1. | Extension_set_thread_name of string
  2. | Extension_set_process_name of string

Additional extensions

Sourcetype 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

Sourcetype 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

    *)