We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c41424 commit c5cfa40Copy full SHA for c5cfa40
opentelemetry-appender-log/src/lib.rs
@@ -100,7 +100,7 @@ use opentelemetry::{
100
Key,
101
};
102
#[cfg(feature = "experimental_metadata_attributes")]
103
-use opentelemetry_semantic_conventions::trace::{CODE_FILEPATH, CODE_LINENO, CODE_NAMESPACE};
+use opentelemetry_semantic_conventions::attribute::{CODE_FILEPATH, CODE_LINENO, CODE_NAMESPACE};
104
use std::borrow::Cow;
105
106
pub struct OpenTelemetryLogBridge<P, L>
@@ -1154,7 +1154,7 @@ mod tests {
1154
1155
#[test]
1156
fn logbridge_code_attributes() {
1157
- use opentelemetry_semantic_conventions::trace::{
+ use opentelemetry_semantic_conventions::attribute::{
1158
CODE_FILEPATH, CODE_LINENO, CODE_NAMESPACE,
1159
1160
0 commit comments