Skip to content

Commit 1c06625

Browse files
feat!: Use Tracing::pre_configured from stackable-telemetry (#934)
* chore: Bump stackable-operator and use re-exports * feat!: Use `Tracing::pre_configured` from stackable-telemetry BREAKING: The console log level, file log level and directory variables have been changed * chore: Update changelog * chore: cargo update && make regenerate-nix * Apply suggestions from code review Co-authored-by: Techassi <[email protected]> --------- Co-authored-by: Techassi <[email protected]>
1 parent 06ef4a8 commit 1c06625

File tree

10 files changed

+100
-113
lines changed

10 files changed

+100
-113
lines changed

Diff for: CHANGELOG.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ All notable changes to this project will be documented in this file.
66

77
### Changed
88

9-
- Replace stackable-operator `initialize_logging` with stackable-telemetry `Tracing` ([#927]).
10-
- BREAKING: The file log directory was set by `ZOOKEEPER_OPERATOR_LOG_DIRECTORY`,
11-
and is now set by `ROLLING_LOGS` (or via `--rolling-logs <DIRECTORY>`).
9+
- BREAKING: Replace stackable-operator `initialize_logging` with stackable-telemetry `Tracing` ([#927], [#934]).
10+
- The console log level was set by `ZOOKEEPER_OPERATOR_LOG`, and is now set by `CONSOLE_LOG`.
11+
- The file log level was set by `ZOOKEEPER_OPERATOR_LOG`, and is now set by `FILE_LOG`.
12+
- The file log directory was set by `ZOOKEEPER_OPERATOR_LOG_DIRECTORY`, and is now set
13+
by `ROLLING_LOGS_DIR` (or via `--rolling-logs <DIRECTORY>`).
1214
- Replace stackable-operator `print_startup_string` with `tracing::info!` with fields.
1315
- BREAKING: Inject the vector aggregator address into the vector config using the env var `VECTOR_AGGREGATOR_ADDRESS` instead
1416
of having the operator write it to the vector config ([#933]).
@@ -18,8 +20,9 @@ All notable changes to this project will be documented in this file.
1820
- Use `json` file extension for log files ([#932]).
1921

2022
[#927]: https://github.com/stackabletech/zookeeper-operator/pull/927
21-
[#933]: https://github.com/stackabletech/zookeeper-operator/pull/XXX
23+
[#933]: https://github.com/stackabletech/zookeeper-operator/pull/934
2224
[#932]: https://github.com/stackabletech/zookeeper-operator/pull/932
25+
[#934]: https://github.com/stackabletech/zookeeper-operator/pull/934
2326

2427
## [25.3.0] - 2025-03-21
2528

Diff for: Cargo.lock

+17-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.nix

+52-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ repository = "https://github.com/stackabletech/zookeeper-operator"
1111

1212
[workspace.dependencies]
1313
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.7.0" }
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.90.0" }
15-
stackable-telemetry = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-telemetry-0.4.0" }
16-
stackable-versioned = { git = "https://github.com/stackabletech/operator-rs.git", features = ["k8s"], tag = "stackable-versioned-0.7.1" }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", features = ["telemetry", "versioned"], tag = "stackable-operator-0.91.1" }
1715

1816
anyhow = "1.0"
1917
built = { version = "0.7", features = ["chrono", "git2"] }

Diff for: crate-hashes.json

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: rust/operator-binary/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ build = "build.rs"
1212
[dependencies]
1313
product-config.workspace = true
1414
stackable-operator.workspace = true
15-
stackable-telemetry.workspace = true
16-
stackable-versioned.workspace = true
1715

1816
anyhow.workspace = true
1917
clap.workspace = true

0 commit comments

Comments
 (0)