package xapi-rrd

  1. Overview
  2. Docs
type t = {
  1. name : string;
  2. num_intervals : int;
  3. interval_in_steps : int;
}
val make : name:string -> num_intervals:int -> interval_in_steps:int -> unit -> t
val name_of : t -> string
val to_span : t -> int

Total length of time covered by the archive

val interval_to_span : t -> int

Length of time in one interval (clients requesting updates should poll at most every interval)

val to_json : t list -> string
val of_json : string -> t list
OCaml

Innovation. Community. Security.