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

CollectdPayload

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

A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.

interface CollectdPayload {
endTime?: Date;
metadata?: {
[key: string]: TypedValue;
}
;
plugin?: string;
pluginInstance?: string;
startTime?: Date;
type?: string;
typeInstance?: string;
values?: CollectdValue[];
}

§Properties

§
endTime?: Date
[src]

The end time of the interval.

§
metadata?: {
[key: string]: TypedValue;
}
[src]

The measurement metadata. Example: "process_id" -> 12345

§
plugin?: string
[src]

The name of the plugin. Example: "disk".

§
pluginInstance?: string
[src]

The instance name of the plugin Example: "hdcl".

§
startTime?: Date
[src]

The start time of the interval.

§
type?: string
[src]

The measurement type. Example: "memory".

§
typeInstance?: string
[src]

The measurement type instance. Example: "used".

§

The measured values during this time interval. Each value must have a different data_source_name.