Module Values.Insight

Retrieves the list of performance issues which are identified.

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

    The unique identifier for the insight. For example, insight-12345678901234567.

    *)
  2. insightType : String_.t option;
    (*

    The type of insight. For example, HighDBLoad, HighCPU, or DominatingSQLs.

    *)
  3. context : ContextType.t option;
    (*

    Indicates if the insight is causal or correlated insight.

    *)
  4. startTime : ISOTimestamp.t option;
    (*

    The start time of the insight. For example, 2018-10-30T00:00:00Z.

    *)
  5. endTime : ISOTimestamp.t option;
    (*

    The end time of the insight. For example, 2018-10-30T00:00:00Z.

    *)
  6. severity : Severity.t option;
    (*

    The severity of the insight. The values are: Low, Medium, or High.

    *)
  7. supportingInsights : InsightList.t option;
    (*

    List of supporting insights that provide additional factors for the insight.

    *)
  8. description : MarkdownString.t option;
    (*

    Description of the insight. For example: A high severity Insight found between 02:00 to 02:30, where there was an unusually high DB load 600x above baseline. Likely performance impact.

    *)
  9. recommendations : RecommendationList.t option;
    (*

    List of recommendations for the insight. For example, Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id.

    *)
  10. insightData : DataList.t option;
    (*

    List of data objects containing metrics and references from the time range while generating the insight.

    *)
  11. baselineData : DataList.t option;
    (*

    Metric names and values from the timeframe used as baseline to generate the insight.

    *)
}
Sourceval make : ?insightId:String_.t -> ?insightType:String_.t -> ?context:ContextType.t -> ?startTime:ISOTimestamp.t -> ?endTime:ISOTimestamp.t -> ?severity:Severity.t -> ?supportingInsights:InsightList.t -> ?description:MarkdownString.t -> ?recommendations:RecommendationList.t -> ?insightData:DataList.t -> ?baselineData:DataList.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t