[ISSUE #8090]♻️Report telemetry shutdown health and dropped log lines#8091
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
WalkthroughIntroduces structured telemetry shutdown reporting: ChangesTelemetry shutdown reporting
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔊@mxsm 🚀Thanks for your contribution🎉! 💡CodeRabbit(AI) will review your code first🔥! Note 🚨The code review suggestions from CodeRabbit are to be used as a reference only, and the PR submitter can decide whether to make changes based on their own judgment. Ultimately, the project management personnel will conduct the final code review💥. |
Which Issue(s) This PR Fixes(Closes)
Brief Description
This PR makes telemetry shutdown produce structured evidence instead of only returning success or failure.
Changes include:
TelemetryShutdownReportwith subscriber, file sink, dropped log line, and provider shutdown fields.into_resultfor fail-fast callers.How Did You Test This Change?
cargo fmt --allpassed.cargo test -p rocketmq-observability logging --all-featurespassed.cargo test -p rocketmq-broker shutdown --all-featurespassed.cargo test -p rocketmq-observability --test logging_bootstrap_guards --all-featurespassed.cargo clippy --workspace --no-deps --all-targets --all-features -- -D warningspassed withCARGO_TARGET_DIRset to a fresh C drive temporary target directory.Summary by CodeRabbit
New Features
Bug Fixes