package opentelemetry

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Opentelemetry.TracerSource

include module type of struct include Tracer end

A tracer.

https://opentelemetry.io/docs/specs/otel/trace/api/#tracer

Sourceval dummy : t

Dummy tracer, always disabled

Sourceval enabled : t -> bool
Sourceval default : Tracer.t
Sourceval with_thunk_and_finally : Tracer.t -> ?force_new_trace_id:??? -> ?sampler:??? -> ?trace_state:??? -> ?attrs:??? -> ?kind:??? -> ?trace_id:??? -> ?parent:??? -> ?parent_ctx:??? -> ?links:??? -> string -> (Opentelemetry_core.Span.t -> 'a) -> (unit -> 'a) * ((unit, exn * Printexc.raw_backtrace) result -> unit)
Sourceval with_ : ?tracer:??? -> ?force_new_trace_id:??? -> ?sampler:??? -> ?trace_state:??? -> ?attrs:??? -> ?kind:??? -> ?trace_id:??? -> ?parent:??? -> ?parent_ctx:??? -> ?links:??? -> string -> (Opentelemetry_core.Span.t -> 'a) -> 'a