View Source GoogleApi.GKEHub.V1.Model.MonitoringConfig (google_api_gke_hub v0.16.0)

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.

Attributes

  • cluster (type: String.t, default: nil) - 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".
  • clusterHash (type: String.t, default: nil) - 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.
  • kubernetesMetricsPrefix (type: String.t, default: nil) - 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.
  • location (type: String.t, default: nil) - Optional. Location used to report Metrics
  • projectId (type: String.t, default: nil) - Optional. Project used to report Metrics

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEHub.V1.Model.MonitoringConfig{
  cluster: String.t() | nil,
  clusterHash: String.t() | nil,
  kubernetesMetricsPrefix: String.t() | nil,
  location: String.t() | nil,
  projectId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.