Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::MetricStructuredName (v0.7.0)

Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::MetricStructuredName.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context

def context() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — 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'] =

#context=

def context=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — 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'] =

Returns
  • (::Google::Protobuf::Map{::String => ::String}) — 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'] =

#name

def name() -> ::String
Returns
  • (::String) — Worker-defined metric name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Worker-defined metric name.
Returns
  • (::String) — Worker-defined metric name.

#origin

def origin() -> ::String
Returns
  • (::String) — Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.

#origin=

def origin=(value) -> ::String
Parameter
  • value (::String) — Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.
Returns
  • (::String) — Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.