Module Values.StatusCodesSource

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions.

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

    The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

    *)
  2. status3xx : NullableInteger.t option;
    (*

    The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

    *)
  3. status4xx : NullableInteger.t option;
    (*

    The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

    *)
  4. status5xx : NullableInteger.t option;
    (*

    The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

    *)
}
Sourceval make : ?status2xx:??? -> ?status3xx:??? -> ?status4xx:??? -> ?status5xx:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NullableInteger.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