pub struct DebugInfoRequest {
pub node_uids: Option<Vec<u32>>,
pub bdb_uids: Option<Vec<u32>>,
pub include_logs: Option<bool>,
pub include_metrics: Option<bool>,
pub include_configs: Option<bool>,
pub time_range: Option<TimeRange>,
}
Expand description
Debug info collection request
Fields§
§node_uids: Option<Vec<u32>>
List of node UIDs to collect debug info from (if not specified, collects from all nodes)
bdb_uids: Option<Vec<u32>>
List of database UIDs to collect debug info for (if not specified, collects for all databases)
include_logs: Option<bool>
Whether to include log files in the debug info collection
include_metrics: Option<bool>
Whether to include system and database metrics in the debug info
include_configs: Option<bool>
Whether to include configuration files and settings
time_range: Option<TimeRange>
Time range for collecting historical data and logs
Implementations§
Source§impl DebugInfoRequest
impl DebugInfoRequest
Sourcepub fn builder() -> DebugInfoRequestBuilder<((), (), (), (), (), ())>
pub fn builder() -> DebugInfoRequestBuilder<((), (), (), (), (), ())>
Create a builder for building DebugInfoRequest
.
On the builder, call .node_uids(...)
(optional), .bdb_uids(...)
(optional), .include_logs(...)
(optional), .include_metrics(...)
(optional), .include_configs(...)
(optional), .time_range(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DebugInfoRequest
.
Trait Implementations§
Source§impl Clone for DebugInfoRequest
impl Clone for DebugInfoRequest
Source§fn clone(&self) -> DebugInfoRequest
fn clone(&self) -> DebugInfoRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more