You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeGuruProfiler::Types::Metric

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#frame_nameString

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

Returns:

  • (String)

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

#thread_statesArray<String>

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

Returns:

  • (Array<String>)

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

#typeString

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.

Possible values:

  • AggregatedRelativeTotalTime

Returns:

  • (String)

    A type that specifies how a metric for a frame is analyzed.