[][src]Struct rusoto_codeguruprofiler::AgentConfiguration

pub struct AgentConfiguration {
    pub agent_parameters: Option<HashMap<String, String>>,
    pub period_in_seconds: i64,
    pub should_profile: bool,
}

The response of ConfigureAgent that specifies if an agent profiles or not and for how long to return profiling data.

Fields

agent_parameters: Option<HashMap<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 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.

period_in_seconds: i64

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.

should_profile: bool

A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Trait Implementations

impl Clone for AgentConfiguration[src]

impl Debug for AgentConfiguration[src]

impl Default for AgentConfiguration[src]

impl<'de> Deserialize<'de> for AgentConfiguration[src]

impl PartialEq<AgentConfiguration> for AgentConfiguration[src]

impl StructuralPartialEq for AgentConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.