Class: Aws::CodeGuruProfiler::Types::FrameMetric

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

Overview

Note:

When making an API call, you may pass FrameMetric data as a hash:

{
  frame_name: "String", # required
  thread_states: ["String"], # required
  type: "AggregatedRelativeTotalTime", # required, accepts AggregatedRelativeTotalTime
}

The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#frame_nameString

Name of the method common across the multiple occurrences of a frame in an application profile.

Returns:

  • (String)


748
749
750
751
752
753
754
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 748

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

#thread_statesArray<String>

List of application runtime thread states used to get the counts for a frame a derive a metric value.

Returns:

  • (Array<String>)


748
749
750
751
752
753
754
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 748

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

#typeString

A type of aggregation 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 occurrences of all frames in a profile.

Returns:

  • (String)


748
749
750
751
752
753
754
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 748

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