Module Values.SpanSource

A span from a trace that has been ingested by the X-Ray service. A span represents a unit of work or an operation performed by a service.

Sourcetype nonrec t = {
  1. id : SpanId.t option;
    (*

    The span ID.

    *)
  2. document : SpanDocument.t option;
    (*

    The span document.

    *)
}
Sourceval make : ?id:??? -> ?document:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SpanId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t