mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-09 12:23:32 -04:00
remove type for explicit spans
This commit is contained in:
parent
cb468a0440
commit
a556a584bd
2 changed files with 0 additions and 11 deletions
|
|
@ -9,9 +9,6 @@ open Types
|
|||
|
||||
let dummy_span : span = Int64.min_int
|
||||
|
||||
let dummy_explicit_span : explicit_span =
|
||||
{ span = dummy_span; meta = Meta_map.empty }
|
||||
|
||||
(** Signature for a collector.
|
||||
|
||||
This is only relevant to implementors of tracing backends; to instrument
|
||||
|
|
|
|||
|
|
@ -12,11 +12,3 @@ type user_data =
|
|||
]
|
||||
(** User defined data, generally passed as key/value pairs to
|
||||
whatever collector is installed (if any). *)
|
||||
|
||||
type explicit_span = {
|
||||
span: span;
|
||||
(** Identifier for this span. Several explicit spans might share the same
|
||||
identifier since we can differentiate between them via [meta]. *)
|
||||
mutable meta: Meta_map.t; (** Metadata for this span (and its context) *)
|
||||
}
|
||||
(** Explicit span, with collector-specific metadata *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue