Class MetricSource (5.7.0)

MetricSource(value)

A source for the collection of Dataproc custom metrics (see Custom metrics).

Values: METRIC_SOURCE_UNSPECIFIED (0): Required unspecified metric source. MONITORING_AGENT_DEFAULTS (1): Monitoring agent metrics. If this source is enabled, Dataproc enables the monitoring agent in Compute Engine, and collects 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