[][src]Struct rusoto_xray::SamplingTargetDocument

pub struct SamplingTargetDocument {
    pub fixed_rate: Option<f64>,
    pub interval: Option<i64>,
    pub reservoir_quota: Option<i64>,
    pub reservoir_quota_ttl: Option<f64>,
    pub rule_name: Option<String>,
}

Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.

Fields

fixed_rate: Option<f64>

The percentage of matching requests to instrument, after the reservoir is exhausted.

interval: Option<i64>

The number of seconds for the service to wait before getting sampling targets again.

reservoir_quota: Option<i64>

The number of requests per second that X-Ray allocated this service.

reservoir_quota_ttl: Option<f64>

When the reservoir quota expires.

rule_name: Option<String>

The name of the sampling rule.

Trait Implementations

impl Clone for SamplingTargetDocument[src]

impl Debug for SamplingTargetDocument[src]

impl Default for SamplingTargetDocument[src]

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

impl PartialEq<SamplingTargetDocument> for SamplingTargetDocument[src]

impl StructuralPartialEq for SamplingTargetDocument[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.