Paws::CodeGuruProfiler::AgentConfiguration
This class represents one of two things:
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::AgentConfiguration object:
$service_obj->Method(Att1 => { AgentParameters => $value, ..., ShouldProfile => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeGuruProfiler::AgentConfiguration object:
$result = $service_obj->Method(...); $result->Att1->AgentParameters
The response of ConfigureAgent (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) that specifies if an agent profiles or not and for how long to return profiling data.
ConfigureAgent
Parameters used by the profiler. The valid parameters are:
MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.
MaxStackDepth
A
B
C
D
maxDepth
MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.
MemoryUsageLimitPercent
MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.
MinimumTimeForReportingInMilliseconds
ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.
ReportingIntervalInMilliseconds
SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.
SamplingIntervalInMilliseconds
How long a profiling agent should send profiling data using ConfigureAgent (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html). For example, if this is set to 300, the profiling agent calls ConfigureAgent (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) every 5 minutes to submit the profiled data collected during that period.
A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.
Boolean
true
This class forms part of Paws, describing an object used in Paws::CodeGuruProfiler
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.