Struct tremor_otelapis::opentelemetry::proto::metrics::v1::DoubleHistogramDataPoint[][src]

pub struct DoubleHistogramDataPoint {
    pub labels: Vec<StringKeyValue>,
    pub start_time_unix_nano: u64,
    pub time_unix_nano: u64,
    pub count: u64,
    pub sum: f64,
    pub bucket_counts: Vec<u64>,
    pub explicit_bounds: Vec<f64>,
    pub exemplars: Vec<DoubleExemplar>,
}

HistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a Histogram of double values. A Histogram contains summary statistics for a population of values, it may optionally contain the distribution of those values across a set of buckets.

Fields

labels: Vec<StringKeyValue>

The set of labels that uniquely identify this timeseries.

start_time_unix_nano: u64

start_time_unix_nano is the last time when the aggregation value was reset to “zero”. For some metric types this is ignored, see data types for more details.

The aggregation value is over the time interval (start_time_unix_nano, time_unix_nano].

Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

Value of 0 indicates that the timestamp is unspecified. In that case the timestamp may be decided by the backend.

time_unix_nano: u64

time_unix_nano is the moment when this aggregation value was reported.

Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

count: u64

count is the number of values in the population. Must be non-negative. This value must be equal to the sum of the “count” fields in buckets if a histogram is provided.

sum: f64

sum of the values in the population. If count is zero then this field must be zero. This value must be equal to the sum of the “sum” fields in buckets if a histogram is provided.

bucket_counts: Vec<u64>

bucket_counts is an optional field contains the count values of histogram for each bucket.

The sum of the bucket_counts must equal the value in the count field.

The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.

explicit_bounds: Vec<f64>

explicit_bounds specifies buckets with explicitly defined bounds for values. The bucket boundaries are described by “bounds” field.

This defines size(bounds) + 1 (= N) buckets. The boundaries for bucket at index i are:

(-infinity, bounds[i]) for i == 0 [bounds[i-1], bounds[i]) for 0 < i < N-1 [bounds[i], +infinity) for i == N-1 The values in bounds array must be strictly increasing.

Note: only [a, b) intervals are currently supported for each bucket except the first one. If we decide to also support (a, b] intervals we should add support for these by defining a boolean value which decides what type of intervals to use.

exemplars: Vec<DoubleExemplar>

(Optional) List of exemplars collected from measurements that were used to form the data point

Trait Implementations

impl Clone for DoubleHistogramDataPoint[src]

impl Debug for DoubleHistogramDataPoint[src]

impl Default for DoubleHistogramDataPoint[src]

impl Message for DoubleHistogramDataPoint[src]

impl PartialEq<DoubleHistogramDataPoint> for DoubleHistogramDataPoint[src]

impl StructuralPartialEq for DoubleHistogramDataPoint[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]