The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::CodeGuruProfiler::Metric

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CodeGuruProfiler::Metric object:

  $service_obj->Method(Att1 => { FrameName => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CodeGuruProfiler::Metric object:

  $result = $service_obj->Method(...);
  $result->Att1->FrameName

DESCRIPTION

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.

ATTRIBUTES

REQUIRED FrameName => Str

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

REQUIRED ThreadStates => ArrayRef[Str|Undef]

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

REQUIRED Type => Str

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CodeGuruProfiler

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues