Class DataprocMetricConfig (5.4.3)

DataprocMetricConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Dataproc metric config.

Attribute

NameDescription
metrics MutableSequence[google.cloud.dataproc_v1.types.DataprocMetricConfig.Metric]
Required. Metrics sources to enable.

Classes

Metric

Metric(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Dataproc OSS metric.

MetricSource

MetricSource(value)

A source for the collection of Dataproc OSS metrics (see available OSS metrics).

Values: METRIC_SOURCE_UNSPECIFIED (0): Required unspecified metric source. MONITORING_AGENT_DEFAULTS (1): Default monitoring agent metrics. If this source is enabled, Dataproc enables the monitoring agent in Compute Engine, and collects default monitoring agent metrics, which are published with an agent.googleapis.com prefix. HDFS (2): HDFS metric source. SPARK (3): Spark metric source. YARN (4): YARN metric source. SPARK_HISTORY_SERVER (5): Spark History Server metric source. HIVESERVER2 (6): Hiveserver2 metric source. HIVEMETASTORE (7): hivemetastore metric source