Class MonitoringConfig
MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.
Implements
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha2.Data
Assembly: Google.Apis.GKEHub.v1alpha2.dll
Syntax
public class MonitoringConfig : IDirectResponseSchema
Properties
Cluster
Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g., "awsClusters/cluster_1".
Declaration
[JsonProperty("cluster")]
public virtual string Cluster { get; set; }
Property Value
Type | Description |
---|---|
string |
ClusterHash
Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID.
Declaration
[JsonProperty("clusterHash")]
public virtual string ClusterHash { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
KubernetesMetricsPrefix
Optional. 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.
Declaration
[JsonProperty("kubernetesMetricsPrefix")]
public virtual string KubernetesMetricsPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
Location
Optional. Location used to report Metrics
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Optional. Project used to report Metrics
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |