Class: Google::Apis::DataprocV1beta2::ClusterMetrics
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataprocV1beta2::ClusterMetrics
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb 
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #hdfs_metrics  ⇒ Hash<String,Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The HDFS metrics.
 - 
  
    
      #yarn_metrics  ⇒ Hash<String,Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The YARN metrics.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClusterMetrics 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ClusterMetrics.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClusterMetrics
Returns a new instance of ClusterMetrics
      291 292 293  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 291 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#hdfs_metrics ⇒ Hash<String,Fixnum>
The HDFS metrics.
Corresponds to the JSON property hdfsMetrics
      284 285 286  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 284 def hdfs_metrics @hdfs_metrics end  | 
  
#yarn_metrics ⇒ Hash<String,Fixnum>
The YARN metrics.
Corresponds to the JSON property yarnMetrics
      289 290 291  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 289 def yarn_metrics @yarn_metrics end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      296 297 298 299  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 296 def update!(**args) @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics) end  |