#[non_exhaustive]pub struct InfluxDBv2Parameters {
pub flux_log_enabled: Option<bool>,
pub log_level: Option<LogLevel>,
pub no_tasks: Option<bool>,
pub query_concurrency: Option<i32>,
pub query_queue_size: Option<i32>,
pub tracing_type: Option<TracingType>,
pub metrics_disabled: Option<bool>,
}
Expand description
All the customer-modifiable InfluxDB v2 parameters in Timestream for InfluxDB.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flux_log_enabled: Option<bool>
Include option to show detailed logs for Flux queries.
Default: false
log_level: Option<LogLevel>
Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.
Default: info
no_tasks: Option<bool>
Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.
Default: false
query_concurrency: Option<i32>
Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.
Default: 0
query_queue_size: Option<i32>
Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.
Default: 0
tracing_type: Option<TracingType>
Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
metrics_disabled: Option<bool>
Disable the HTTP /metrics endpoint which exposes internal InfluxDB metrics.
Default: false
Implementations§
source§impl InfluxDBv2Parameters
impl InfluxDBv2Parameters
sourcepub fn flux_log_enabled(&self) -> Option<bool>
pub fn flux_log_enabled(&self) -> Option<bool>
Include option to show detailed logs for Flux queries.
Default: false
sourcepub fn log_level(&self) -> Option<&LogLevel>
pub fn log_level(&self) -> Option<&LogLevel>
Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.
Default: info
sourcepub fn no_tasks(&self) -> Option<bool>
pub fn no_tasks(&self) -> Option<bool>
Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.
Default: false
sourcepub fn query_concurrency(&self) -> Option<i32>
pub fn query_concurrency(&self) -> Option<i32>
Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.
Default: 0
sourcepub fn query_queue_size(&self) -> Option<i32>
pub fn query_queue_size(&self) -> Option<i32>
Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.
Default: 0
sourcepub fn tracing_type(&self) -> Option<&TracingType>
pub fn tracing_type(&self) -> Option<&TracingType>
Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
sourcepub fn metrics_disabled(&self) -> Option<bool>
pub fn metrics_disabled(&self) -> Option<bool>
Disable the HTTP /metrics endpoint which exposes internal InfluxDB metrics.
Default: false
source§impl InfluxDBv2Parameters
impl InfluxDBv2Parameters
sourcepub fn builder() -> InfluxDBv2ParametersBuilder
pub fn builder() -> InfluxDBv2ParametersBuilder
Creates a new builder-style object to manufacture InfluxDBv2Parameters
.
Trait Implementations§
source§impl Clone for InfluxDBv2Parameters
impl Clone for InfluxDBv2Parameters
source§fn clone(&self) -> InfluxDBv2Parameters
fn clone(&self) -> InfluxDBv2Parameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InfluxDBv2Parameters
impl Debug for InfluxDBv2Parameters
source§impl PartialEq for InfluxDBv2Parameters
impl PartialEq for InfluxDBv2Parameters
source§fn eq(&self, other: &InfluxDBv2Parameters) -> bool
fn eq(&self, other: &InfluxDBv2Parameters) -> bool
self
and other
values to be equal, and is used
by ==
.