Module Values.SummarizedCounterSource

The counter that describes a DDoS attack.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    The counter name.

    *)
  2. max : Double.t option;
    (*

    The maximum value of the counter for a specified time period.

    *)
  3. average : Double.t option;
    (*

    The average value of the counter for a specified time period.

    *)
  4. sum : Double.t option;
    (*

    The total of counter values for a specified time period.

    *)
  5. n : Integer.t option;
    (*

    The number of counters for a specified time period.

    *)
  6. unit : String_.t option;
    (*

    The unit of the counters.

    *)
}
Sourceval make : ?name:??? -> ?max:??? -> ?average:??? -> ?sum:??? -> ?n:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Integer of Integer.t | `String of String_.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