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

CollectdValue

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

A single data point from a collectd-based plugin.

interface CollectdValue {
dataSourceName?: string;
dataSourceType?:
| "UNSPECIFIED_DATA_SOURCE_TYPE"
| "GAUGE"
| "COUNTER"
| "DERIVE"
| "ABSOLUTE";
value?: TypedValue;
}

§Properties

§
dataSourceName?: string
[src]

The data source for the collectd value. For example, there are two data sources for network measurements: "rx" and "tx".

§
dataSourceType?: "UNSPECIFIED_DATA_SOURCE_TYPE" | "GAUGE" | "COUNTER" | "DERIVE" | "ABSOLUTE"
[src]

The type of measurement.

§

The measurement value.