Module Values.StatisticsSource

A list of statistics for a session.

Sourcetype nonrec t = {
  1. queueId : QueueId.t option;
    (*

    The queue ID.

    *)
  2. fleetId : FleetId.t option;
    (*

    The fleet ID.

    *)
  3. jobId : JobId.t option;
    (*

    The job ID.

    *)
  4. jobName : JobName.t option;
    (*

    The job name.

    *)
  5. userId : UserId.t option;
    (*

    The user ID.

    *)
  6. usageType : UsageType.t option;
    (*

    The type of usage for the statistics.

    *)
  7. licenseProduct : LicenseProduct.t option;
    (*

    The licensed product.

    *)
  8. instanceType : InstanceType.t option;
    (*

    The type of instance.

    *)
  9. count : Integer.t option;
    (*

    The number of instances in a list of statistics.

    *)
  10. costInUsd : Stats.t option;
    (*

    How the statistics should appear in USD. Options include: minimum, maximum, average or sum.

    *)
  11. runtimeInSeconds : Stats.t option;
    (*

    The total aggregated runtime.

    *)
  12. aggregationStartTime : SyntheticTimestamp_date_time.t option;
    (*

    The start time for the aggregation.

    *)
  13. aggregationEndTime : SyntheticTimestamp_date_time.t option;
    (*

    The end time for the aggregation.

    *)
}
Sourceval make : ?queueId:QueueId.t -> ?fleetId:FleetId.t -> ?jobId:JobId.t -> ?jobName:JobName.t -> ?userId:UserId.t -> ?usageType:UsageType.t -> ?licenseProduct:LicenseProduct.t -> ?instanceType:InstanceType.t -> ?count:Integer.t -> ?costInUsd:Stats.t -> ?runtimeInSeconds:Stats.t -> ?aggregationStartTime:SyntheticTimestamp_date_time.t -> ?aggregationEndTime:SyntheticTimestamp_date_time.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of QueueId.t | `Structure of (string * [> `Double of Double.t ]) list | `Timestamp of SyntheticTimestamp_date_time.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