Module Values_0.MetricSource

The representation of a metric.

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

    The name of a metric.

    *)
  2. references : MetricReferenceList.t option;
    (*

    A list of metric references (thresholds).

    *)
  3. statisticsDetails : String_.t option;
    (*

    The details of different statistics for a metric. The description might contain markdown.

    *)
  4. metricQuery : MetricQuery.t option;
    (*

    The query to retrieve metric data points.

    *)
}
Sourceval make : ?name:??? -> ?references:??? -> ?statisticsDetails:??? -> ?metricQuery:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Structure of (string * [> `Double of Double.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list | `String of String_.t ]) list ]) list ]) 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