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

Class: Aws::CodeGuruProfiler::Types::Pattern

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

Overview

A set of rules used to make a recommendation during an analysis.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#counters_to_aggregate ⇒ Array<String>

A list of the different counters used to determine if there is a match.

Returns:

  • (Array<String>) —

    A list of the different counters used to determine if there is a match.

#description ⇒ String

The description of the recommendation. This explains a potential inefficiency in a profiled application.

Returns:

  • (String) —

    The description of the recommendation.

#id ⇒ String

The universally unique identifier (UUID) of this pattern.

Returns:

  • (String) —

    The universally unique identifier (UUID) of this pattern.

#name ⇒ String

The name for this pattern.

Returns:

  • (String) —

    The name for this pattern.

#resolution_steps ⇒ String

A string that contains the steps recommended to address the potential inefficiency.

Returns:

  • (String) —

    A string that contains the steps recommended to address the potential inefficiency.

#target_frames ⇒ Array<Array<String>>

A list of frame names that were searched during the analysis that generated a recommendation.

Returns:

  • (Array<Array<String>>) —

    A list of frame names that were searched during the analysis that generated a recommendation.

#threshold_percent ⇒ Float

The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.

Returns:

  • (Float) —

    The percentage of time an application spends in one method that triggers a recommendation.