Improved logging for OTLP receiver#1981
Merged
jmacd merged 6 commits intoopen-telemetry:mainfrom Feb 7, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1981 +/- ##
==========================================
- Coverage 85.77% 85.76% -0.01%
==========================================
Files 513 513
Lines 162908 162908
==========================================
- Hits 139731 139719 -12
- Misses 22643 22655 +12
Partials 534 534
🚀 New features to boost your workflow:
|
jmacd
approved these changes
Feb 6, 2026
cijothomas
commented
Feb 6, 2026
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Feb 6, 2026
Reverting #1973 Fixing the empty "" from our internal macros, that caused the `message="user friendly message here"` from being omitted in stdout! Taking https://github.com/open-telemetry/otel-arrow/blob/main/rust/otap-dataflow/crates/controller/src/lib.rs#L668-L671 as example ```rust otel_warn!( "core_affinity.set_failed", message = "Failed to set core affinity for pipeline thread. Performance may be less predictable." ); ``` Before ```txt 2026-02-06T22:15:09.891Z WARN otap-df-controller::core_affinity.set_failed (crates/controller/src/lib.rs:668): ``` (Missing message!) After (i.e with this PR) ```txt 2026-02-06T22:11:19.095Z WARN otap-df-controller::core_affinity.set_failed (crates/controller/src/lib.rs:668): Failed to set core affinity for pipeline thread. Performance may be less predictable. ``` (Message is back) "message" is already special cased in this repo, OTel Rust repo, and `tracing` itself. Passing user friendly string as an attribute named "message" is *[faster](https://github.com/open-telemetry/opentelemetry-rust/pull/2001/changes)* too! Also, we avoid the less friendly syntax - #1981 (comment)
cijothomas
commented
Feb 6, 2026
cijothomas
commented
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
Minor but important improvement to logging to include the endpoint where OTLP receiver is listening.
Also downgraded a registry log to debug - its polluting startup with a ton of logs, which I don't find useful, so downgrading to DEBUG from INFO. Its too much for INFO level, IMHO.