Class: Google::Cloud::GkeHub::V1::MonitoringConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/membership.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#cluster::String

Returns 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.

Returns:

  • (::String)

    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.



288
289
290
291
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 288

class MonitoringConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cluster_hash::String

Returns 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.

Returns:

  • (::String)

    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.



288
289
290
291
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 288

class MonitoringConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kubernetes_metrics_prefix::String

Returns 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.

Returns:

  • (::String)

    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



288
289
290
291
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 288

class MonitoringConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#location::String

Returns Immutable. Location used to report Metrics.

Returns:

  • (::String)

    Immutable. Location used to report Metrics



288
289
290
291
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 288

class MonitoringConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Returns Immutable. Project used to report Metrics.

Returns:

  • (::String)

    Immutable. Project used to report Metrics



288
289
290
291
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 288

class MonitoringConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end