Record

exponential-histogram-data-point

A single data point in a time series to be associated with an exponential-histogram .

record exponential-histogram-data-point {
  attributes: list​<key-value>,
  count: u64,
  min: option​<metric-number>,
  max: option​<metric-number>,
  sum: metric-number,
  scale: s8,
  zero-count: u64,
  positive-bucket: exponential-bucket,
  negative-bucket: exponential-bucket,
  zero-threshold: f64,
  exemplars: list​<exemplar>,
}

Fields

NameTypeDescription
attributeslist​<key-value>

The set of key value pairs that uniquely identify the time series.

countu64

The number of updates this histogram has been calculated with.

minoption​<metric-number>

The minimum value recorded.

maxoption​<metric-number>

The maximum value recorded.

summetric-number

The maximum value recorded.

scales8

Describes the resolution of the histogram.

Boundaries are located at powers of the base, where:

base = 2 ^ (2 ^ -scale)

zero-countu64

The number of values whose absolute value is less than or equal to zero_threshold.

When zero_threshold is 0, this is the number of values that cannot be expressed using the standard exponential formula as well as values that have been rounded to zero.

positive-bucketexponential-bucket

The range of positive value bucket counts.

negative-bucketexponential-bucket

The range of negative value bucket counts.

zero-thresholdf64

The width of the zero region.

Where the zero region is defined as the closed interval [-zero_threshold, zero_threshold].

exemplarslist​<exemplar>

The sampled exemplars collected during the time series.