public sealed class MonitoringConfig : IMessage<MonitoringConfig>, IEquatable<MonitoringConfig>, IDeepCloneable<MonitoringConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class MonitoringConfig.
This field informs Fleet-based applications/services/UIs with the necessary
information for where each underlying Cluster reports its metrics.
Immutable. Cluster name used to report metrics.
For Anthos on VMWare/Baremetal, it would be in format
memberClusters/cluster_name; And for Anthos on MultiCloud, it would be in
format
{azureClusters, awsClusters}/cluster_name.
Immutable. Cluster hash, this is a unique string generated by google code,
which does not contain any PII, which we can use to reference the cluster.
This is expected to be created by the monitoring stack and persisted into
the Cluster object as well as to GKE-Hub.
public string KubernetesMetricsPrefix { get; set; }
Kubernetes system metrics, if available, are written to this prefix.
This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today
but will migration to be under kubernetes.io/anthos
[[["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 page provides documentation for the \u003ccode\u003eMonitoringConfig\u003c/code\u003e class within the Google Cloud GKE Hub v1 API, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMonitoringConfig\u003c/code\u003e class is used to inform applications about where each underlying cluster reports its metrics, providing vital information for Fleet-based applications and services.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods and properties for cluster metric reporting configurations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eMonitoringConfig\u003c/code\u003e include \u003ccode\u003eCluster\u003c/code\u003e, \u003ccode\u003eClusterHash\u003c/code\u003e, \u003ccode\u003eKubernetesMetricsPrefix\u003c/code\u003e, \u003ccode\u003eLocation\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e, which define various aspects of metric reporting, such as the cluster's name, location, and project ID.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides links to documentation for other versions of the API, ranging from 1.0.0 to the latest version 2.5.0, including links to the previous and next versions of the documentation.\u003c/p\u003e\n"]]],[],null,[]]