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

MetricDescriptorMetadata

import type { MetricDescriptorMetadata } from "https://googleapis.deno.dev/v1/serviceconsumermanagement:v1.ts";

Additional annotations that can be used to guide the usage of a metric.

interface MetricDescriptorMetadata {
ingestDelay?: number;
launchStage?:
| "LAUNCH_STAGE_UNSPECIFIED"
| "UNIMPLEMENTED"
| "PRELAUNCH"
| "EARLY_ACCESS"
| "ALPHA"
| "BETA"
| "GA"
| "DEPRECATED";
samplePeriod?: number;
}

§Properties

§
ingestDelay?: number
[src]

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

§
launchStage?: "LAUNCH_STAGE_UNSPECIFIED" | "UNIMPLEMENTED" | "PRELAUNCH" | "EARLY_ACCESS" | "ALPHA" | "BETA" | "GA" | "DEPRECATED"
[src]

Deprecated. Must use the MetricDescriptor.launch_stage instead.

§
samplePeriod?: number
[src]

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.