Module Values.GetTraceSummariesRequestSource

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. startTime : Timestamp.t;
    (*

    The start of the time frame for which to retrieve traces.

    *)
  2. endTime : Timestamp.t;
    (*

    The end of the time frame for which to retrieve traces.

    *)
  3. timeRangeType : TimeRangeType.t option;
    (*

    Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).

    *)
  4. sampling : NullableBoolean.t option;
    (*

    Set to true to get summaries for only a subset of available traces.

    *)
  5. samplingStrategy : SamplingStrategy.t option;
    (*

    A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.

    *)
  6. filterExpression : FilterExpression.t option;
    (*

    Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.

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

    Specify the pagination token returned by a previous request to retrieve the next page of results.

    *)
}
Sourceval context_ : string
Sourceval make : ?timeRangeType:??? -> ?sampling:??? -> ?samplingStrategy:??? -> ?filterExpression:??? -> ?nextToken:??? -> startTime:Timestamp.t -> endTime:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum of string | `String of FilterExpression.t | `Structure of (string * [> `Double of NullableDouble.t | `Enum of string ]) list | `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