Module Values.TraceSource

A collection of segment documents with matching trace IDs.

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

    The unique identifier for the request that generated the trace's segments and subsegments.

    *)
  2. duration : NullableDouble.t option;
    (*

    The length of time in seconds between the start time of the earliest segment that started and the end time of the last segment that completed.

    *)
  3. limitExceeded : NullableBoolean.t option;
    (*

    LimitExceeded is set to true when the trace has exceeded the Trace document size limit. For more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and quotas.

    *)
  4. segments : SegmentList.t option;
    (*

    Segment documents for the segments and subsegments that comprise the trace.

    *)
}
Sourceval make : ?id:??? -> ?duration:??? -> ?limitExceeded:??? -> ?segments:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Double of NullableDouble.t | `List of [> `Structure of (string * [> `String of SegmentId.t ]) list ] list | `String of TraceId.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