Class MetricStructuredName (1.0.0-beta03)

public sealed class MetricStructuredName : IMessage<MetricStructuredName>, IEquatable<MetricStructuredName>, IDeepCloneable<MetricStructuredName>, IBufferMessage, IMessage

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

Inheritance

Object > MetricStructuredName

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

MetricStructuredName()

public MetricStructuredName()

MetricStructuredName(MetricStructuredName)

public MetricStructuredName(MetricStructuredName other)
Parameter
NameDescription
otherMetricStructuredName

Properties

Context

public MapField<string, string> Context { get; }

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'] = <step-name>. Counters associated with PCollections in the SDK will have context['pcollection'] = <pcollection-name>.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Worker-defined metric name.

Property Value
TypeDescription
String

Origin

public string Origin { get; set; }

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

Property Value
TypeDescription
String