Module Values.ApplicationMetricsSource

Application request metrics for an AWS Elastic Beanstalk environment.

Sourcetype nonrec t = {
  1. duration : NullableInteger.t option;
    (*

    The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count) within the most recent time slice of 10 seconds (duration).

    *)
  2. requestCount : RequestCount.t option;
    (*

    Average number of requests handled by the web server per second over the last 10 seconds.

    *)
  3. statusCodes : StatusCodes.t option;
    (*

    Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.

    *)
  4. latency : Latency.t option;
    (*

    Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.

    *)
}
Sourceval make : ?duration:??? -> ?requestCount:??? -> ?statusCodes:??? -> ?latency:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NullableInteger.t | `Structure of (string * [> `Double of NullableDouble.t | `Integer of NullableInteger.t ]) list ]) 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