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.12.tbz
sha256=c173d6bf9433e9eeb41bbddda116a296373d45865841dcbb78bff3be8abd9fd8
sha512=1105c52112095fdc8d4961d7346b02e416627bde6ac79ddd137bff63ac0ff5cd23fa53192be642614efadb9cb0cbb83b7d571bb5a0d100ad0ae6d10bc61d3bba

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

Module Trace_core.Core_extSource

A few core extensions.

  • since 0.11
Sourcetype Trace_core__.Types.extension_event +=
  1. | Extension_set_thread_name of string
  2. | Extension_set_process_name of string
  3. | Extension_set_thread_sort_index of int
    (*

    https://github.com/google/perfetto/pull/3273/changes#diff-ecec88c33adb7591ee6aa88e29b62ad52ef443611cba5e0f0ecac9b5725afdba

    *)
  4. | Extension_set_process_sort_index of int

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

    *)