pub struct Config {
pub db_path: PathBuf,
pub otlp_grpc_addr: String,
pub otlp_http_addr: String,
pub query_tcp_addr: String,
pub query_http_addr: String,
pub uds_path: PathBuf,
pub retention_ttl: Duration,
pub retention_max_bytes: u64,
pub write_batch_size: usize,
pub write_flush_ms: u64,
pub forward_otlp_endpoint: Option<String>,
pub forward_otlp_protocol: String,
}Fields§
§db_path: PathBuf§otlp_grpc_addr: String§otlp_http_addr: String§query_tcp_addr: String§query_http_addr: String§uds_path: PathBuf§retention_ttl: Duration§retention_max_bytes: u64§write_batch_size: usize§write_flush_ms: u64§forward_otlp_endpoint: Option<String>§forward_otlp_protocol: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
Mutably borrows from an owned value. Read more