public sealed class DataprocMetricConfig.Types.Metric : IMessage<DataprocMetricConfig.Types.Metric>, IEquatable<DataprocMetricConfig.Types.Metric>, IDeepCloneable<DataprocMetricConfig.Types.Metric>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class DataprocMetricConfig.Types.Metric.
public RepeatedField<string> MetricOverrides { get; }
Optional. Specify one or more Custom metrics
to collect for the metric course (for the SPARK metric source (any
Spark metric can be
specified).
Provide metrics in the following format:
<code><var>METRIC_SOURCE</var>:<var>INSTANCE</var>:<var>GROUP</var>:<var>METRIC</var></code>
Use camelcase as appropriate.
Only the specified overridden metrics are collected for the
metric source. For example, if one or more spark:executive metrics
are listed as metric overrides, other SPARK metrics are not
collected. The collection of the metrics for other enabled custom
metric sources is unaffected. For example, if both SPARK andd YARN
metric sources are enabled, and overrides are provided for Spark
metrics only, all YARN metrics are collected.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eDataprocMetricConfig.Types.Metric\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its properties, constructors, and the different versions available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataprocMetricConfig.Types.Metric\u003c/code\u003e class represents a custom metric within Dataproc, enabling the specification of metrics to collect, such as \u003ccode\u003eSPARK\u003c/code\u003e or \u003ccode\u003eYARN\u003c/code\u003e metrics.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes a listing of various versions of the Dataproc v1 API, ranging from the latest version \u003ccode\u003e5.17.0\u003c/code\u003e down to \u003ccode\u003e3.1.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetricOverrides\u003c/code\u003e property allows for the customization of collected metrics, where specific metrics can be overridden and collected for the metric source, whereas the \u003ccode\u003eMetricSource\u003c/code\u003e property is used to set the source of the metrics.\u003c/p\u003e\n"],["\u003cp\u003eThe document showcases that \u003ccode\u003eDataprocMetricConfig.Types.Metric\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various functionalities and usage.\u003c/p\u003e\n"]]],[],null,[]]