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

AutoscalingEvent

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

A structured message reporting an autoscaling decision made by the Dataflow service.

interface AutoscalingEvent {
currentNumWorkers?: bigint;
description?: StructuredMessage;
eventType?:
| "TYPE_UNKNOWN"
| "TARGET_NUM_WORKERS_CHANGED"
| "CURRENT_NUM_WORKERS_CHANGED"
| "ACTUATION_FAILURE"
| "NO_CHANGE";
targetNumWorkers?: bigint;
time?: Date;
workerPool?: string;
}

§Properties

§
currentNumWorkers?: bigint
[src]

The current number of workers the job has.

§

A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.

§
eventType?: "TYPE_UNKNOWN" | "TARGET_NUM_WORKERS_CHANGED" | "CURRENT_NUM_WORKERS_CHANGED" | "ACTUATION_FAILURE" | "NO_CHANGE"
[src]

The type of autoscaling event to report.

§
targetNumWorkers?: bigint
[src]

The target number of workers the worker pool wants to resize to use.

§
time?: Date
[src]

The time this event was emitted to indicate a new target or current num_workers value.

§
workerPool?: string
[src]

A short and friendly name for the worker pool this event refers to.