Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DistributionUpdate

import type { DistributionUpdate } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

A metric value representing a distribution.

interface DistributionUpdate {
count?: SplitInt64;
histogram?: Histogram;
max?: SplitInt64;
min?: SplitInt64;
sum?: SplitInt64;
sumOfSquares?: number;
}

§Properties

§

The count of the number of elements present in the distribution.

§
histogram?: Histogram
[src]

(Optional) Histogram of value counts for the distribution.

§

The maximum value present in the distribution.

§

The minimum value present in the distribution.

§

Use an int64 since we'd prefer the added precision. If overflow is a common problem we can detect it and use an additional int64 or a double.

§
sumOfSquares?: number
[src]

Use a double since the sum of squares is likely to overflow int64.