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\u003eThe content provides documentation for the \u003ccode\u003eDataprocMetricConfig.Types.Metric\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace and is defined in the \u003ccode\u003eGoogle.Cloud.Dataproc.V1.dll\u003c/code\u003e assembly, and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for specifying custom metrics through the \u003ccode\u003eMetricOverrides\u003c/code\u003e property, with examples provided for \u003ccode\u003eyarn\u003c/code\u003e, \u003ccode\u003espark\u003c/code\u003e, and \u003ccode\u003ehiveserver2\u003c/code\u003e metrics.\u003c/p\u003e\n"],["\u003cp\u003eIt also has a \u003ccode\u003eMetricSource\u003c/code\u003e property which indicates the source of the metrics, allowing for standard metric sets to be collected, unless \u003ccode\u003emetricOverrides\u003c/code\u003e are specified.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the \u003ccode\u003eDataprocMetricConfig.Types.Metric\u003c/code\u003e class, from version 3.1.0 up to the latest version 5.17.0, for those who are looking to use an older version.\u003c/p\u003e\n"]]],[],null,[]]