Class MonitoringConfig
This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics.
Implements
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha2.Data
Assembly: Google.Apis.GKEHub.v1alpha2.dll
Syntax
public class MonitoringConfig : IDirectResponseSchema
Properties
Cluster
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
.
Declaration
[JsonProperty("cluster")]
public virtual string Cluster { get; set; }
Property Value
Type | Description |
---|---|
string |
ClusterHash
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.
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
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
Immutable. Location used to report Metrics
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Immutable. Project used to report Metrics
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |