Skip to content

Commit 28299f9

Browse files
authored
chore: Make TelemetryArguments fields pub (#998)
* chore: Make TelemetryArguments fields pub * chore: Add changelog entry
1 parent 52bdee5 commit 28299f9

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

crates/stackable-operator/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Changed
8+
9+
- Make fields of `TelemetryArguments` public ([#998]).
10+
11+
[#998]: https://github.com/stackabletech/operator-rs/pull/998
12+
713
## [0.89.0] - 2025-04-02
814

915
### Added

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)