diff --git a/crates/stackable-operator/CHANGELOG.md b/crates/stackable-operator/CHANGELOG.md index 41ffff10..3c9fd06b 100644 --- a/crates/stackable-operator/CHANGELOG.md +++ b/crates/stackable-operator/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Changed + +- Make fields of `TelemetryArguments` public ([#998]). + +[#998]: https://github.com/stackabletech/operator-rs/pull/998 + ## [0.89.0] - 2025-04-02 ### Added diff --git a/crates/stackable-operator/src/cli.rs b/crates/stackable-operator/src/cli.rs index e38f6573..a415e9a1 100644 --- a/crates/stackable-operator/src/cli.rs +++ b/crates/stackable-operator/src/cli.rs @@ -284,23 +284,23 @@ impl ProductConfigPath { pub struct TelemetryArguments { /// Disable console output. #[arg(long, env)] - no_console_output: bool, + pub no_console_output: bool, /// Enable logging to rolling files located in the specified DIRECTORY. #[arg(long, env, value_name = "DIRECTORY", group = "rolling_logs_group")] - rolling_logs: Option, + pub rolling_logs: Option, /// Time PERIOD after which log files are rolled over. #[arg(long, env, value_name = "PERIOD", requires = "rolling_logs_group")] - rolling_logs_period: Option, + pub rolling_logs_period: Option, /// Enable exporting traces via OTLP. #[arg(long, env)] - otlp_traces: bool, + pub otlp_traces: bool, /// Enable exporting logs via OTLP. #[arg(long, env)] - otlp_logs: bool, + pub otlp_logs: bool, } #[derive(Clone, Debug, PartialEq, Eq, strum::Display, strum::EnumString, clap::ValueEnum)]