From 0413361e51061f7706b1bb03f210ef2e4d8f0d69 Mon Sep 17 00:00:00 2001 From: Techassi Date: Wed, 2 Apr 2025 15:33:07 +0200 Subject: [PATCH 1/2] chore: Make TelemetryArguments fields pub --- crates/stackable-operator/src/cli.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)] From 27f4426bbb3e3228f710028046db6cc6820a5c94 Mon Sep 17 00:00:00 2001 From: Techassi Date: Wed, 2 Apr 2025 15:34:24 +0200 Subject: [PATCH 2/2] chore: Add changelog entry --- crates/stackable-operator/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) 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