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

ObservabilityMetricData

import type { ObservabilityMetricData } from "https://googleapis.deno.dev/v1/redis:v1.ts";
interface ObservabilityMetricData {
aggregationType?:
| "AGGREGATION_TYPE_UNSPECIFIED"
| "PEAK"
| "P99"
| "P95"
| "CURRENT";
metricType?:
| "METRIC_TYPE_UNSPECIFIED"
| "CPU_UTILIZATION"
| "MEMORY_UTILIZATION"
| "NETWORK_CONNECTIONS"
| "STORAGE_UTILIZATION"
| "STORAGE_USED_BYTES"
| "NODE_COUNT"
| "MEMORY_USED_BYTES"
| "PROCESSING_UNIT_COUNT";
observationTime?: Date;
resourceName?: string;
value?: TypedValue;
}

§Properties

§
aggregationType?: "AGGREGATION_TYPE_UNSPECIFIED" | "PEAK" | "P99" | "P95" | "CURRENT"
[src]

Required. Type of aggregation performed on the metric.

§
metricType?: "METRIC_TYPE_UNSPECIFIED" | "CPU_UTILIZATION" | "MEMORY_UTILIZATION" | "NETWORK_CONNECTIONS" | "STORAGE_UTILIZATION" | "STORAGE_USED_BYTES" | "NODE_COUNT" | "MEMORY_USED_BYTES" | "PROCESSING_UNIT_COUNT"
[src]

Required. Type of metric like CPU, Memory, etc.

§
observationTime?: Date
[src]

Required. The time the metric value was observed.

§
resourceName?: string
[src]

Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel

§

Required. Value of the metric type.