class Google::Apis::DataprocV1beta2::ClusterMetrics

Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.

Attributes

hdfs_metrics[RW]

The HDFS metrics. Corresponds to the JSON property `hdfsMetrics` @return [Hash<String,Fixnum>]

yarn_metrics[RW]

The YARN metrics. Corresponds to the JSON property `yarnMetrics` @return [Hash<String,Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 525
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 530
def update!(**args)
  @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics)
  @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics)
end