MonitoringConfigResponse

data class MonitoringConfigResponse(val cluster: String, val clusterHash: String, val kubernetesMetricsPrefix: String, val location: String, val project: String)

This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics.

Constructors

Link copied to clipboard
fun MonitoringConfigResponse(cluster: String, clusterHash: String, kubernetesMetricsPrefix: String, location: String, project: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

Immutable. Location used to report Metrics

Link copied to clipboard

Immutable. Project used to report Metrics