Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DistributionValue

Package version

Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.

Hierarchy

  • DistributionValue

Index

Properties

bucketOptions

bucketOptions: BucketOptions

Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. To save network bandwidth this field can be sent only the first time a metric is sent when using a streaming RPC.

buckets

buckets: Bucket[]

DistributionValue buckets

count

count: number

The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided.

sum

sum: number

The sum of the values in the population. If count is zero then this field must be zero.

sumOfSquaredDeviation

sumOfSquaredDeviation: number

The sum of squared deviations from the mean of the values in the population. For values x_i this is:

Sum[i=1..n]((x_i - mean)^2)

Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.

If count is zero then this field must be zero.

Generated using TypeDoc