public static interface AgentConfiguration.Builder extends SdkPojo, CopyableBuilder<AgentConfiguration.Builder,AgentConfiguration>
Modifier and Type | Method and Description |
---|---|
AgentConfiguration.Builder |
agentParameters(Map<AgentParameterField,String> agentParameters)
Parameters used by the profiler.
|
AgentConfiguration.Builder |
agentParametersWithStrings(Map<String,String> agentParameters)
Parameters used by the profiler.
|
AgentConfiguration.Builder |
periodInSeconds(Integer periodInSeconds)
How long a profiling agent should send profiling data using
ConfigureAgent . |
AgentConfiguration.Builder |
shouldProfile(Boolean shouldProfile)
A
Boolean that specifies whether the profiling agent collects profiling data or not. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
AgentConfiguration.Builder agentParametersWithStrings(Map<String,String> agentParameters)
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
.
MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.
MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending
reports.
ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report
profiles.
SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to profile
samples.
agentParameters
- 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
.
MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.
MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending
reports.
ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report
profiles.
SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to
profile samples.
AgentConfiguration.Builder agentParameters(Map<AgentParameterField,String> agentParameters)
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
.
MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.
MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending
reports.
ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report
profiles.
SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to profile
samples.
agentParameters
- 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
.
MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.
MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending
reports.
ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report
profiles.
SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to
profile samples.
AgentConfiguration.Builder periodInSeconds(Integer periodInSeconds)
How long a profiling agent should send profiling data using
ConfigureAgent
. For example, if this is set to 300, the profiling agent calls
ConfigureAgent
every 5 minutes to submit the profiled data collected during that period.
periodInSeconds
- How long a profiling agent should send profiling data using
ConfigureAgent
. For example, if this is set to 300, the profiling agent calls
ConfigureAgent
every 5 minutes to submit the profiled data collected during that
period.AgentConfiguration.Builder shouldProfile(Boolean shouldProfile)
A Boolean
that specifies whether the profiling agent collects profiling data or not. Set to
true
to enable profiling.
shouldProfile
- A Boolean
that specifies whether the profiling agent collects profiling data or not. Set
to true
to enable profiling.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.