View Source GoogleApi.Dataflow.V1b3.Model.MetricStructuredName (google_api_dataflow v0.50.0)

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

Attributes

  • context (type: map(), default: nil) - 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 (type: String.t, default: nil) - Worker-defined metric name.
  • origin (type: String.t, default: nil) - Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataflow.V1b3.Model.MetricStructuredName{
  context: map() | nil,
  name: String.t() | nil,
  origin: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.