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

MetricStructuredName

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

Identifies a metric, by describing the source which generated the metric.

interface MetricStructuredName {
context?: {
[key: string]: string;
}
;
name?: string;
origin?: string;
}

§Properties

§
context?: {
[key: string]: string;
}
[src]

Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] = .

§
name?: string
[src]

Worker-defined metric name.

§
origin?: string
[src]

Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.