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 \ DataprocMetricConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
METRIC_SOURCE_UNSPECIFIED
Value: 0Required unspecified metric source.
Generated from protobuf enum METRIC_SOURCE_UNSPECIFIED = 0;
MONITORING_AGENT_DEFAULTS
Value: 1Monitoring 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: 2HDFS metric source.
Generated from protobuf enum HDFS = 2;
SPARK
Value: 3Spark metric source.
Generated from protobuf enum SPARK = 3;
YARN
Value: 4YARN metric source.
Generated from protobuf enum YARN = 4;
SPARK_HISTORY_SERVER
Value: 5Spark History Server metric source.
Generated from protobuf enum SPARK_HISTORY_SERVER = 5;
HIVESERVER2
Value: 6Hiveserver2 metric source.
Generated from protobuf enum HIVESERVER2 = 6;
HIVEMETASTORE
Value: 7hivemetastore metric source
Generated from protobuf enum HIVEMETASTORE = 7;