Module Values.GetTraceSummariesResultSource

Retrieves IDs and annotations for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces. A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com: service("api.example.com") This filter expression finds traces that have an annotation named account with the value 12345: annotation.account = "12345" For a full list of indexed fields and keywords that you can use in filter expressions, see Use filter expressions in the Amazon Web Services X-Ray Developer Guide.

Sourcetype nonrec t = {
  1. traceSummaries : TraceSummaryList.t option;
    (*

    Trace IDs and annotations for traces that were found in the specified time frame.

    *)
  2. approximateTime : Timestamp.t option;
    (*

    The start time of this page of results.

    *)
  3. tracesProcessedCount : NullableLong.t option;
    (*

    The total number of traces processed, including traces that did not match the specified filter expression.

    *)
  4. nextToken : String_.t option;
    (*

    If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidRequestException of InvalidRequestException.t
  2. | `ThrottledException of ThrottledException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?traceSummaries:??? -> ?approximateTime:??? -> ?tracesProcessedCount:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidRequestException of InvalidRequestException.t | `ThrottledException of ThrottledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidRequestException of InvalidRequestException.t | `ThrottledException of ThrottledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Double of NullableDouble.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Boolean of NullableBoolean.t | `List of [> `String of String_.t | `Structure of (string * [> `Boolean of NullableBoolean.t | `List of [> `String of String_.t | `Structure of (string * [> `Boolean of NullableBoolean.t | `Double of NullableDouble.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `Map of ([> `String of AnnotationKey.t ] * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t ]) list ] list | `Structure of (string * [> `Boolean of NullableBoolean.t | `Double of NullableDouble.t | `String of String_.t ]) list ]) list ] list ]) list | `String of TraceId.t | `Structure of (string * [> `Integer of NullableInteger.t | `List of [> `String of String_.t ] list | `String of String_.t ]) list | `Timestamp of Timestamp.t ]) list ] list | `Long of NullableLong.t | `String of String_.t | `Timestamp of Timestamp.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