Module Values.MetricSource

Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame.

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

    The name of the method that appears as a frame in any stack in a profile.

    *)
  2. threadStates : Strings.t option;
    (*

    The list of application runtime thread states that is used to calculate the metric value for the frame.

    *)
  3. type_ : MetricType.t option;
    (*

    A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

    *)
}
Sourceval make : ?frameName:??? -> ?threadStates:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `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