Class MetricStructuredName (0.2.0)

MetricStructuredName(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
origin str
Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.
name str
Worker-defined metric name.
context Sequence[google.cloud.dataflow_v1beta3.types.MetricStructuredName.ContextEntry]
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'] = .

Inheritance

builtins.object > proto.message.Message > MetricStructuredName

Classes

ContextEntry

ContextEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, `.Message`]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.