mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
12 lines
321 B
OCaml
12 lines
321 B
OCaml
(** Mini tracing module (disabled if [config.self_trace=false]) *)
|
|
|
|
val add_event : Opentelemetry.Scope.t -> Opentelemetry.Event.t -> unit
|
|
|
|
val with_ :
|
|
?kind:Opentelemetry.Span_kind.t ->
|
|
?attrs:(string * Opentelemetry.value) list ->
|
|
string ->
|
|
(Opentelemetry.Scope.t -> 'a) ->
|
|
'a
|
|
|
|
val set_enabled : bool -> unit
|