Struct google_api_proto::google::cloud::gkehub::v1beta1::MonitoringConfig
source · pub struct MonitoringConfig {
pub project_id: String,
pub location: String,
pub cluster: String,
pub kubernetes_metrics_prefix: String,
pub cluster_hash: String,
}
Expand description
This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics.
Fields§
§project_id: String
Immutable. Project used to report Metrics
location: String
Immutable. Location used to report Metrics
cluster: 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
.
kubernetes_metrics_prefix: 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
cluster_hash: 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.
Trait Implementations§
source§impl Clone for MonitoringConfig
impl Clone for MonitoringConfig
source§fn clone(&self) -> MonitoringConfig
fn clone(&self) -> MonitoringConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonitoringConfig
impl Debug for MonitoringConfig
source§impl Default for MonitoringConfig
impl Default for MonitoringConfig
source§impl Message for MonitoringConfig
impl Message for MonitoringConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MonitoringConfig
impl PartialEq for MonitoringConfig
source§fn eq(&self, other: &MonitoringConfig) -> bool
fn eq(&self, other: &MonitoringConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MonitoringConfig
Auto Trait Implementations§
impl Freeze for MonitoringConfig
impl RefUnwindSafe for MonitoringConfig
impl Send for MonitoringConfig
impl Sync for MonitoringConfig
impl Unpin for MonitoringConfig
impl UnwindSafe for MonitoringConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request