Closed NickLarsenNZ closed 1 month ago
Part of https://github.com/stackabletech/issues/issues/531
Now each tracing subscriber log level can be configured via the given environment variable.
let trace_guard = Tracing::builder() .service_name("hdfs_operator") .with_console_output("HDFS_OPERATOR_LOG", LevelFilter::INFO) .with_otlp_log_exporter("HDFS_OPERATOR_OTLP_LOG", LevelFilter::DEBUG) .with_otlp_trace_exporter("HDFS_OPERATOR_OTLP_TRACE", LevelFilter::TRACE) .build();
# Author - [ ] Changes are OpenShift compatible - [ ] CRD changes approved - [ ] Integration tests passed (for non trivial changes)
# Reviewer - [ ] Code contains useful comments - [ ] (Integration-)Test cases added - [ ] Documentation added or updated - [ ] Changelog updated - [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance - [ ] Feature Tracker has been updated - [ ] Proper release label has been added
Description
Part of https://github.com/stackabletech/issues/issues/531
Now each tracing subscriber log level can be configured via the given environment variable.
Definition of Done Checklist