Struct gapi_grpc::google::api::distribution::Exemplar[][src]

pub struct Exemplar {
    pub value: f64,
    pub timestamp: Option<Timestamp>,
    pub attachments: Vec<Any>,
}

Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.

Fields

value: f64

Value of the exemplar point. This value determines to which bucket the exemplar belongs.

timestamp: Option<Timestamp>

The observation (sampling) time of the above value.

attachments: Vec<Any>

Contextual information about the example value. Examples are:

Trace: type.googleapis.com/google.monitoring.v3.SpanContext

Literal string: type.googleapis.com/google.protobuf.StringValue

Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels

There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.

Trait Implementations

impl Clone for Exemplar[src]

impl Debug for Exemplar[src]

impl Default for Exemplar[src]

impl Message for Exemplar[src]

impl PartialEq<Exemplar> for Exemplar[src]

impl StructuralPartialEq for Exemplar[src]

Auto Trait Implementations

impl RefUnwindSafe for Exemplar

impl Send for Exemplar

impl Sync for Exemplar

impl Unpin for Exemplar

impl UnwindSafe for Exemplar

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>, 
[src]

impl<T> WithSubscriber for T[src]