Module Values.CPUUtilizationSource

CPU utilization metrics for an instance.

Sourcetype nonrec t = {
  1. user : NullableDouble.t option;
    (*

    Percentage of time that the CPU has spent in the User state over the last 10 seconds.

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

    Available on Linux environments only. Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.

    *)
  3. system : NullableDouble.t option;
    (*

    Available on Linux environments only. Percentage of time that the CPU has spent in the System state over the last 10 seconds.

    *)
  4. idle : NullableDouble.t option;
    (*

    Percentage of time that the CPU has spent in the Idle state over the last 10 seconds.

    *)
  5. iOWait : NullableDouble.t option;
    (*

    Available on Linux environments only. Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.

    *)
  6. iRQ : NullableDouble.t option;
    (*

    Available on Linux environments only. Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.

    *)
  7. softIRQ : NullableDouble.t option;
    (*

    Available on Linux environments only. Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.

    *)
  8. privileged : NullableDouble.t option;
    (*

    Available on Windows environments only. Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.

    *)
}
Sourceval make : ?user:??? -> ?nice:??? -> ?system:??? -> ?idle:??? -> ?iOWait:??? -> ?iRQ:??? -> ?softIRQ:??? -> ?privileged:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of NullableDouble.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