Struct tremor_otelapis::opentelemetry::proto::metrics::experimental::metric_config_response::Schedule[][src]

pub struct Schedule {
    pub exclusion_patterns: Vec<Pattern>,
    pub inclusion_patterns: Vec<Pattern>,
    pub period_sec: i32,
}

A Schedule is used to apply a particular scheduling configuration to a metric. If a metric name matches a schedule’s patterns, then the metric adopts the configuration specified by the schedule.

Fields

exclusion_patterns: Vec<Pattern>

Metrics with names that match a rule in the inclusion_patterns are targeted by this schedule. Metrics that match the exclusion_patterns are not targeted for this schedule, even if they match an inclusion pattern.

inclusion_patterns: Vec<Pattern>period_sec: i32

Describes the collection period for each metric in seconds. A period of 0 means to not export.

Trait Implementations

impl Clone for Schedule[src]

impl Debug for Schedule[src]

impl Default for Schedule[src]

impl Message for Schedule[src]

impl PartialEq<Schedule> for Schedule[src]

impl StructuralPartialEq for Schedule[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> 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> IntoRequest<T> for T[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]