Google Cloud Dataproc V1 Client - Class MetricSource (2.0.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class MetricSource.

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

Protobuf type google.cloud.dataproc.v1.DataprocMetricConfig.MetricSource

Namespace

Google \ Cloud \ Dataproc \ V1 \ DataprocMetricConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

METRIC_SOURCE_UNSPECIFIED

Value: 0

Required unspecified metric source.

Generated from protobuf enum METRIC_SOURCE_UNSPECIFIED = 0;

MONITORING_AGENT_DEFAULTS

Value: 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.

Generated from protobuf enum MONITORING_AGENT_DEFAULTS = 1;

HDFS

Value: 2

HDFS metric source.

Generated from protobuf enum HDFS = 2;

SPARK

Value: 3

Spark metric source.

Generated from protobuf enum SPARK = 3;

YARN

Value: 4

YARN metric source.

Generated from protobuf enum YARN = 4;

SPARK_HISTORY_SERVER

Value: 5

Spark History Server metric source.

Generated from protobuf enum SPARK_HISTORY_SERVER = 5;

HIVESERVER2

Value: 6

Hiveserver2 metric source.

Generated from protobuf enum HIVESERVER2 = 6;

HIVEMETASTORE

Value: 7

hivemetastore metric source

Generated from protobuf enum HIVEMETASTORE = 7;

Value: 8

flink metric source

Generated from protobuf enum FLINK = 8;