pub struct Point {
pub bool_value: Option<bool>,
pub distribution_value: Option<PointDistribution>,
pub double_value: Option<f64>,
pub end: Option<DateTime<Utc>>,
pub int64_value: Option<i64>,
pub start: Option<DateTime<Utc>>,
pub string_value: Option<String>,
}Expand description
Point is a single point in a time series. It consists of a start time, an end time, and a value.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bool_value: Option<bool>The value of this data point. Either “true” or “false”.
distribution_value: Option<PointDistribution>The value of this data point as a distribution. A distribution value can contain a list of buckets and/or an underflowBucket and an overflowBucket. The values of these points can be used to create a histogram.
double_value: Option<f64>The value of this data point as a double-precision floating-point number.
end: Option<DateTime<Utc>>The interval [start, end] is the time period to which the point’s value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings.
int64_value: Option<i64>The value of this data point as a 64-bit integer.
start: Option<DateTime<Utc>>The interval [start, end] is the time period to which the point’s value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings.
string_value: Option<String>The value of this data point in string format.