remove type for explicit spans

This commit is contained in:
Simon Cruanes 2024-01-24 23:02:06 -05:00
parent cb468a0440
commit a556a584bd
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 0 additions and 11 deletions

View file

@ -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

View file

@ -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 *)