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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeguruprofiler/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

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)


1358
1359
1360
1361
1362
1363
1364
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1358

class Metric < Struct.new(
  :frame_name,
  :thread_states,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#thread_statesArray<String>

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

Returns:

  • (Array<String>)


1358
1359
1360
1361
1362
1363
1364
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1358

class Metric < Struct.new(
  :frame_name,
  :thread_states,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#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.

Returns:

  • (String)


1358
1359
1360
1361
1362
1363
1364
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1358

class Metric < Struct.new(
  :frame_name,
  :thread_states,
  :type)
  SENSITIVE = []
  include Aws::Structure
end