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

SloEligibility

import type { SloEligibility } from "https://googleapis.deno.dev/v1/connectors:v2.ts";

SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.

interface SloEligibility {
eligible?: boolean;
reason?: string;
}

§Properties

§
eligible?: boolean
[src]

Whether an instance is eligible or ineligible.

§
reason?: string
[src]

User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.