-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OrderMap reference in log subsystem #1073
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1073 +/- ##
=====================================
Coverage 50.9% 50.9%
=====================================
Files 165 165
Lines 19689 19689
=====================================
Hits 10025 10025
Misses 9664 9664
☔ View full report in Codecov by Sentry. |
opentelemetry-api/src/logs/mod.rs
Outdated
@@ -13,6 +13,9 @@ pub use logger::{Logger, LoggerProvider}; | |||
pub use noop::NoopLoggerProvider; | |||
pub use record::{AnyValue, LogRecord, LogRecordBuilder, Severity, TraceContext}; | |||
|
|||
use std::collections::hash_map::RandomState; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is needed anymore? Is the only remaining value of this PR sorting the imports correctly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Removed the import.
Fixes #
Design discussion issue (if applicable) #
Changes
As part of PR #1061, the OrderMap module was moved from
copentelemetry-api::trace
toopentelemetry-api
root. This PR ensures that log subsystem should refer to the OrderMap module fromopentelemetry-api
, and not fromopentelemetry-api::trace
.Also added the reexport in logs to ensure that existing usage (if any) is not broken.Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes