diff --git a/libsql-server/src/main.rs b/libsql-server/src/main.rs index e9290c5c87..d08376d1cc 100644 --- a/libsql-server/src/main.rs +++ b/libsql-server/src/main.rs @@ -304,6 +304,10 @@ struct Cli { )] sync_conccurency: usize, + /// Disable prometheus metrics collection + #[clap(long, env = "LIBSQL_DISABLE_METRICS")] + disable_metrics: bool, + #[clap(subcommand)] subcommand: Option, } @@ -506,7 +510,7 @@ async fn make_admin_api_config(config: &Cli) -> anyhow::Result