Enum DataprocMetricConfig.MetricSource (4.33.0)

public enum DataprocMetricConfig.MetricSource extends Enum<DataprocMetricConfig.MetricSource> implements ProtocolMessageEnum

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

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
HDFS

HDFS metric source.

HDFS = 2;

HDFS_VALUE

HDFS metric source.

HDFS = 2;

HIVEMETASTORE

hivemetastore metric source

HIVEMETASTORE = 7;

HIVEMETASTORE_VALUE

hivemetastore metric source

HIVEMETASTORE = 7;

HIVESERVER2

Hiveserver2 metric source.

HIVESERVER2 = 6;

HIVESERVER2_VALUE

Hiveserver2 metric source.

HIVESERVER2 = 6;

METRIC_SOURCE_UNSPECIFIED

Required unspecified metric source.

METRIC_SOURCE_UNSPECIFIED = 0;

METRIC_SOURCE_UNSPECIFIED_VALUE

Required unspecified metric source.

METRIC_SOURCE_UNSPECIFIED = 0;

MONITORING_AGENT_DEFAULTS

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.

MONITORING_AGENT_DEFAULTS = 1;

MONITORING_AGENT_DEFAULTS_VALUE

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.

MONITORING_AGENT_DEFAULTS = 1;

SPARK

Spark metric source.

SPARK = 3;

SPARK_HISTORY_SERVER

Spark History Server metric source.

SPARK_HISTORY_SERVER = 5;

SPARK_HISTORY_SERVER_VALUE

Spark History Server metric source.

SPARK_HISTORY_SERVER = 5;

SPARK_VALUE

Spark metric source.

SPARK = 3;

UNRECOGNIZED
YARN

YARN metric source.

YARN = 4;

YARN_VALUE

YARN metric source.

YARN = 4;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()