opentelemetry_proto/
proto.rs

1/// Service stub and clients.
2pub mod collector {
3    pub mod trace {
4        pub mod v1 {
5            tonic::include_proto!("opentelemetry.proto.collector.trace.v1");
6        }
7    }
8    pub mod logs {
9        pub mod v1 {
10            tonic::include_proto!("opentelemetry.proto.collector.logs.v1");
11        }
12    }
13    pub mod metrics {
14        pub mod v1 {
15            tonic::include_proto!("opentelemetry.proto.collector.metrics.v1");
16        }
17    }
18}
19
20/// Common types used across all event types.
21pub mod common {
22    pub mod v1 {
23        tonic::include_proto!("opentelemetry.proto.common.v1");
24    }
25}
26
27/// Generated types used for logs.
28pub mod logs {
29    pub mod v1 {
30        tonic::include_proto!("opentelemetry.proto.logs.v1");
31    }
32}
33
34/// Generated types used for metrics.
35pub mod metrics {
36    pub mod v1 {
37        tonic::include_proto!("opentelemetry.proto.metrics.v1");
38    }
39}
40
41/// Generated types used for trace.
42pub mod trace {
43    pub mod v1 {
44        tonic::include_proto!("opentelemetry.proto.trace.v1");
45    }
46}
47
48/// Generated types used in resources.
49pub mod resource {
50    pub mod v1 {
51        tonic::include_proto!("opentelemetry.proto.resource.v1");
52    }
53}