Skip to content

Commit 0413361

Browse files
committed
chore: Make TelemetryArguments fields pub
1 parent 52bdee5 commit 0413361

File tree

1 file changed

+5
-5
lines changed
  • crates/stackable-operator/src

1 file changed

+5
-5
lines changed

crates/stackable-operator/src/cli.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,23 +284,23 @@ impl ProductConfigPath {
284284
pub struct TelemetryArguments {
285285
/// Disable console output.
286286
#[arg(long, env)]
287-
no_console_output: bool,
287+
pub no_console_output: bool,
288288

289289
/// Enable logging to rolling files located in the specified DIRECTORY.
290290
#[arg(long, env, value_name = "DIRECTORY", group = "rolling_logs_group")]
291-
rolling_logs: Option<PathBuf>,
291+
pub rolling_logs: Option<PathBuf>,
292292

293293
/// Time PERIOD after which log files are rolled over.
294294
#[arg(long, env, value_name = "PERIOD", requires = "rolling_logs_group")]
295-
rolling_logs_period: Option<RollingPeriod>,
295+
pub rolling_logs_period: Option<RollingPeriod>,
296296

297297
/// Enable exporting traces via OTLP.
298298
#[arg(long, env)]
299-
otlp_traces: bool,
299+
pub otlp_traces: bool,
300300

301301
/// Enable exporting logs via OTLP.
302302
#[arg(long, env)]
303-
otlp_logs: bool,
303+
pub otlp_logs: bool,
304304
}
305305

306306
#[derive(Clone, Debug, PartialEq, Eq, strum::Display, strum::EnumString, clap::ValueEnum)]

0 commit comments

Comments
 (0)