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

Linear

import type { Linear } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets

  • 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).
interface Linear {
numFiniteBuckets?: number;
offset?: number;
width?: number;
}

§Properties

§
numFiniteBuckets?: number
[src]

Must be greater than 0.

§
offset?: number
[src]

Lower bound of the first bucket.

§
width?: number
[src]

Must be greater than 0.