# Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::ClusterMetrics (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::ClusterMetrics.

Contains cluster daemon metrics, such as HDFS and YARN stats.


<br />

**Beta Feature**: This report is available for testing purposes only. It may
be changed before final release.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #hdfs_metrics

    def hdfs_metrics() -> ::Google::Protobuf::Map{::String => ::Integer}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Integer}) --- The HDFS metrics.

### #hdfs_metrics=

    def hdfs_metrics=(value) -> ::Google::Protobuf::Map{::String => ::Integer}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Integer}) --- The HDFS metrics.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Integer}) --- The HDFS metrics.

### #yarn_metrics

    def yarn_metrics() -> ::Google::Protobuf::Map{::String => ::Integer}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Integer}) --- The YARN metrics.

### #yarn_metrics=

    def yarn_metrics=(value) -> ::Google::Protobuf::Map{::String => ::Integer}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Integer}) --- The YARN metrics.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Integer}) --- The YARN metrics.