Module Values.StartTraceRetrievalRequestSource

Initiates a trace retrieval process using the specified time range and for the given trace IDs in the Transaction Search generated CloudWatch log group. For more information, see Transaction Search. API returns a RetrievalToken, which can be used with ListRetrievedTraces or GetRetrievedTracesGraph to fetch results. Retrievals will time out after 60 minutes. To execute long time ranges, consider segmenting into multiple retrievals. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to retrieve data from a linked source account, as long as both accounts have transaction search enabled. For retrieving data from X-Ray directly as opposed to the Transaction-Search Log group, see BatchGetTraces.

Sourcetype nonrec t = {
  1. traceIds : TraceIdListForRetrieval.t;
    (*

    Specify the trace IDs of the traces to be retrieved.

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

    The start of the time range to retrieve traces. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

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

    The end of the time range to retrieve traces. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

    *)
}
Sourceval context_ : string
Sourceval make : traceIds:TraceIdListForRetrieval.t -> startTime:Timestamp.t -> endTime:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of TraceId.t ] 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