diff --git a/src/compute/src/lib.rs b/src/compute/src/lib.rs index e9250cfaa35ab..1336a84980cea 100644 --- a/src/compute/src/lib.rs +++ b/src/compute/src/lib.rs @@ -102,8 +102,9 @@ pub struct ComputeNodeOpts { pub role: Role, /// Used for control the metrics level, similar to log level. - /// 0 = disable metrics - /// >0 = enable metrics + /// + /// level = 0: disable metrics + /// level > 0: enable metrics #[clap(long, hide = true, env = "RW_METRICS_LEVEL")] #[override_opts(path = server.metrics_level)] pub metrics_level: Option, diff --git a/src/frontend/src/lib.rs b/src/frontend/src/lib.rs index fbab8020ca609..e15005ee2b647 100644 --- a/src/frontend/src/lib.rs +++ b/src/frontend/src/lib.rs @@ -141,8 +141,9 @@ pub struct FrontendOpts { pub config_path: String, /// Used for control the metrics level, similar to log level. - /// 0 = disable metrics - /// >0 = enable metrics + /// + /// level = 0: disable metrics + /// level > 0: enable metrics #[clap(long, hide = true, env = "RW_METRICS_LEVEL")] #[override_opts(path = server.metrics_level)] pub metrics_level: Option,