File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ pub mod http;
2525pub use tracing_opentelemetry_instrumentation_sdk;
2626
2727pub mod otlp;
28+ pub mod semconv;
2829
2930#[ cfg( feature = "test" ) ]
3031pub mod test;
@@ -35,15 +36,6 @@ pub mod future;
3536mod filter;
3637mod util;
3738
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-
4739#[ derive( Debug , Default ) ]
4840pub struct DetectResource {
4941 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