Class: Google::Cloud::GkeHub::V1beta1::MonitoringConfig
- Inherits:
-
Object
- Object
- Google::Cloud::GkeHub::V1beta1::MonitoringConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkehub/v1beta1/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
-
#cluster ⇒ ::String
Immutable.
-
#cluster_hash ⇒ ::String
Immutable.
-
#kubernetes_metrics_prefix ⇒ ::String
Kubernetes system metrics, if available, are written to this prefix.
-
#location ⇒ ::String
Immutable.
-
#project_id ⇒ ::String
Immutable.
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
.
445 446 447 448 |
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 445 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.
445 446 447 448 |
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 445 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.
445 446 447 448 |
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 445 class MonitoringConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::String
Returns Immutable. Location used to report Metrics.
445 446 447 448 |
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 445 class MonitoringConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id ⇒ ::String
Returns Immutable. Project used to report Metrics.
445 446 447 448 |
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 445 class MonitoringConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |