pub struct QueryInsightsInstanceConfig {
pub record_application_tags: Option<bool>,
pub record_client_address: Option<bool>,
pub query_string_length: u32,
pub query_plans_per_minute: Option<u32>,
}
Expand description
QueryInsights Instance specific configuration.
Fields§
Record application tags for an instance. This flag is turned “on” by default.
record_client_address: Option<bool>
Record client address for an instance. Client address is PII information. This flag is turned “on” by default.
query_string_length: u32
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
query_plans_per_minute: Option<u32>
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
Implementations§
Source§impl QueryInsightsInstanceConfig
impl QueryInsightsInstanceConfig
Returns the value of record_application_tags
, or the default value if record_application_tags
is unset.
Sourcepub fn record_client_address(&self) -> bool
pub fn record_client_address(&self) -> bool
Returns the value of record_client_address
, or the default value if record_client_address
is unset.
Sourcepub fn query_plans_per_minute(&self) -> u32
pub fn query_plans_per_minute(&self) -> u32
Returns the value of query_plans_per_minute
, or the default value if query_plans_per_minute
is unset.
Trait Implementations§
Source§impl Clone for QueryInsightsInstanceConfig
impl Clone for QueryInsightsInstanceConfig
Source§fn clone(&self) -> QueryInsightsInstanceConfig
fn clone(&self) -> QueryInsightsInstanceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for QueryInsightsInstanceConfig
impl Debug for QueryInsightsInstanceConfig
Source§impl Message for QueryInsightsInstanceConfig
impl Message for QueryInsightsInstanceConfig
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
.impl Copy for QueryInsightsInstanceConfig
impl StructuralPartialEq for QueryInsightsInstanceConfig
Auto Trait Implementations§
impl Freeze for QueryInsightsInstanceConfig
impl RefUnwindSafe for QueryInsightsInstanceConfig
impl Send for QueryInsightsInstanceConfig
impl Sync for QueryInsightsInstanceConfig
impl Unpin for QueryInsightsInstanceConfig
impl UnwindSafe for QueryInsightsInstanceConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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