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

Exponential

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

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a 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): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

interface Exponential {
growthFactor?: number;
numFiniteBuckets?: number;
scale?: number;
}

§Properties

§
growthFactor?: number
[src]

Must be greater than 1.

§
numFiniteBuckets?: number
[src]

Must be greater than 0.

§
scale?: number
[src]

Must be greater than 0.