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

CounterMetadata

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

CounterMetadata includes all static non-name non-value counter attributes.

interface CounterMetadata {
description?: string;
kind?:
| "INVALID"
| "SUM"
| "MAX"
| "MIN"
| "MEAN"
| "OR"
| "AND"
| "SET"
| "DISTRIBUTION"
| "LATEST_VALUE";
otherUnits?: string;
standardUnits?:
| "BYTES"
| "BYTES_PER_SEC"
| "MILLISECONDS"
| "MICROSECONDS"
| "NANOSECONDS"
| "TIMESTAMP_MSEC"
| "TIMESTAMP_USEC"
| "TIMESTAMP_NSEC";
}

§Properties

§
description?: string
[src]

Human-readable description of the counter semantics.

§
kind?: "INVALID" | "SUM" | "MAX" | "MIN" | "MEAN" | "OR" | "AND" | "SET" | "DISTRIBUTION" | "LATEST_VALUE"
[src]

Counter aggregation kind.

§
otherUnits?: string
[src]

A string referring to the unit type.

§
standardUnits?: "BYTES" | "BYTES_PER_SEC" | "MILLISECONDS" | "MICROSECONDS" | "NANOSECONDS" | "TIMESTAMP_MSEC" | "TIMESTAMP_USEC" | "TIMESTAMP_NSEC"
[src]

System defined Units, see above enum.