File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ pub mod http;
25
25
pub use tracing_opentelemetry_instrumentation_sdk;
26
26
27
27
pub mod otlp;
28
+ pub mod semconv;
28
29
29
30
#[ cfg( feature = "test" ) ]
30
31
pub mod test;
@@ -35,15 +36,6 @@ pub mod future;
35
36
mod filter;
36
37
mod util;
37
38
38
- pub mod semconv {
39
- pub use opentelemetry_semantic_conventions:: trace:: * ;
40
-
41
- pub const MESSAGING_DESTINATION_PUBLISH_NAME : & str =
42
- "messaging.destination_publish.name" ;
43
- pub const MESSAGING_DESTINATION_PUBLISH_ANONYMOUS : & str =
44
- "messaging.destination_publish.anonymous" ;
45
- }
46
-
47
39
#[ derive( Debug , Default ) ]
48
40
pub struct DetectResource {
49
41
fallback_service_name : & ' static str ,
Original file line number Diff line number Diff line change
1
+ pub use opentelemetry_semantic_conventions:: trace:: * ;
2
+
3
+ pub const MESSAGING_DESTINATION_PUBLISH_NAME : & str = "messaging.destination_publish.name" ;
4
+ pub const MESSAGING_DESTINATION_PUBLISH_ANONYMOUS : & str =
5
+ "messaging.destination_publish.anonymous" ;
You can’t perform that action at this time.
0 commit comments