Class: Aws::CodeGuruProfiler::Types::AgentConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruProfiler::Types::AgentConfiguration
- Defined in:
- gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb
Overview
The response of ConfigureAgent
that specifies if an agent
profiles or not and for how long to return profiling data.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#agent_parameters ⇒ Hash<String,String>
Parameters used by the profiler.
-
#period_in_seconds ⇒ Integer
How long a profiling agent should send profiling data using [
ConfigureAgent
][1]. -
#should_profile ⇒ Boolean
A
Boolean
that specifies whether the profiling agent collects profiling data or not.
Instance Attribute Details
#agent_parameters ⇒ Hash<String,String>
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 methodA
, which calls methodB
, which calls methodC
, which calls methodD
, then the depth is 4. If themaxDepth
is set to 2, then the profiler evaluatesA
andB
.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.
94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 94 class AgentConfiguration < Struct.new( :agent_parameters, :period_in_seconds, :should_profile) SENSITIVE = [] include Aws::Structure end |
#period_in_seconds ⇒ Integer
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.
94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 94 class AgentConfiguration < Struct.new( :agent_parameters, :period_in_seconds, :should_profile) SENSITIVE = [] include Aws::Structure end |
#should_profile ⇒ Boolean
A Boolean
that specifies whether the profiling agent collects
profiling data or not. Set to true
to enable profiling.
94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 94 class AgentConfiguration < Struct.new( :agent_parameters, :period_in_seconds, :should_profile) SENSITIVE = [] include Aws::Structure end |