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

QueryMetrics

import type { QueryMetrics } from "https://googleapis.deno.dev/v1/databasecenter:v1beta.ts";

QueryMetrics contains the metrics related to the query execution.

interface QueryMetrics {
avgCpuTime?: number;
executionCount?: bigint;
metricsWindow?:
| "METRICS_WINDOW_UNSPECIFIED"
| "LAST_ONE_DAY"
| "LAST_ONE_WEEK"
| "LAST_TWO_WEEKS";
rowsProcessed?: bigint;
totalCpuTime?: number;
}

§Properties

§
avgCpuTime?: number
[src]

The average execution period of the query across all runs.

§
executionCount?: bigint
[src]

The number of times the query was executed.

§
metricsWindow?: "METRICS_WINDOW_UNSPECIFIED" | "LAST_ONE_DAY" | "LAST_ONE_WEEK" | "LAST_TWO_WEEKS"
[src]

The window over which the metrics are aggregated.

§
rowsProcessed?: bigint
[src]

The average number of rows processed by the query across all runs.

§
totalCpuTime?: number
[src]

The total CPU time consumed by the query across all runs.