add doc-string for remove-path-prefixes
This commit is contained in:
@@ -53,6 +53,7 @@ pub struct Config {
|
|||||||
claude: Option<ClaudeConfig>,
|
claude: Option<ClaudeConfig>,
|
||||||
#[conf(flatten, serde(flatten))]
|
#[conf(flatten, serde(flatten))]
|
||||||
gateway: GatewayConfig,
|
gateway: GatewayConfig,
|
||||||
|
/// When ingesting logs, if the file begins with any of these glob prefixes, remove the glob prefix
|
||||||
#[conf(long, env, value_parser = serde_json::from_str, default_value = "[\"/home/*/\", \".cargo/registry/src/*/\"]")]
|
#[conf(long, env, value_parser = serde_json::from_str, default_value = "[\"/home/*/\", \".cargo/registry/src/*/\"]")]
|
||||||
remove_path_prefixes: Vec<String>,
|
remove_path_prefixes: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user