Skip to content

Commit cea2d17

Browse files
authored
feat!: Use Tracing::pre_configured from stackable-telemetry (#608)
* 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: Remove unused const
1 parent dff7fb2 commit cea2d17

8 files changed

Lines changed: 93 additions & 109 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
### Changed
66

7-
- Replace stackable-operator `initialize_logging` with stackable-telemetry `Tracing` ([#601]).
8-
- BREAKING: The file log directory was set by `AIRFLOW_OPERATOR_LOG_DIRECTORY`, and is now set by `ROLLING_LOGS`
9-
(or via `--rolling-logs <DIRECTORY>`).
7+
- BREAKING: Replace stackable-operator `initialize_logging` with stackable-telemetry `Tracing` ([#601], [#608]).
8+
- The console log level was set by `AIRFLOW_OPERATOR_LOG`, and is now set by `CONSOLE_LOG`.
9+
- The file log level was set by `AIRFLOW_OPERATOR_LOG`, and is now set by `FILE_LOG`.
10+
- The file log directory was set by `AIRFLOW_OPERATOR_LOG_DIRECTORY`, and is now set
11+
by `ROLLING_LOGS_DIR` (or via `--rolling-logs <DIRECTORY>`).
1012
- Replace stackable-operator `print_startup_string` with `tracing::info!` with fields.
1113
- BREAKING: Inject the vector aggregator address into the vector config using the env var `VECTOR_AGGREGATOR_ADDRESS` instead
1214
of having the operator write it to the vector config ([#600]).
@@ -19,6 +21,7 @@
1921
[#600]: https://github.com/stackabletech/airflow-operator/pull/600
2022
[#601]: https://github.com/stackabletech/airflow-operator/pull/601
2123
[#607]: https://github.com/stackabletech/airflow-operator/pull/607
24+
[#608]: https://github.com/stackabletech/airflow-operator/pull/608
2225

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

Cargo.lock

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 56 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ repository = "https://github.com/stackabletech/airflow-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"] }

crate-hashes.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/operator-binary/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ publish = false
1111
[dependencies]
1212
product-config.workspace = true
1313
stackable-operator.workspace = true
14-
stackable-telemetry.workspace = true
15-
stackable-versioned.workspace = true
1614

1715
anyhow.workspace = true
1816
clap.workspace = true

0 commit comments

Comments
 (0)