otlp2parquet_proto/
lib.rs

1// otlp2parquet-proto - OpenTelemetry Protocol Definitions
2//
3// This crate contains the generated protobuf code for OTLP.
4// The code is generated at build time from the OpenTelemetry proto files.
5
6// Allow clippy and rustdoc warnings in generated protobuf code
7#![allow(clippy::doc_overindented_list_items)]
8#![allow(clippy::doc_lazy_continuation)]
9#![allow(rustdoc::invalid_html_tags)]
10
11// Include generated protobuf code
12pub mod opentelemetry {
13    pub mod proto {
14        pub mod collector {
15            pub mod logs {
16                pub mod v1 {
17                    include!(concat!(
18                        env!("OUT_DIR"),
19                        "/opentelemetry.proto.collector.logs.v1.rs"
20                    ));
21                }
22            }
23            pub mod trace {
24                pub mod v1 {
25                    include!(concat!(
26                        env!("OUT_DIR"),
27                        "/opentelemetry.proto.collector.trace.v1.rs"
28                    ));
29                }
30            }
31            pub mod metrics {
32                pub mod v1 {
33                    include!(concat!(
34                        env!("OUT_DIR"),
35                        "/opentelemetry.proto.collector.metrics.v1.rs"
36                    ));
37                }
38            }
39        }
40        pub mod logs {
41            pub mod v1 {
42                include!(concat!(env!("OUT_DIR"), "/opentelemetry.proto.logs.v1.rs"));
43            }
44        }
45        pub mod trace {
46            pub mod v1 {
47                include!(concat!(env!("OUT_DIR"), "/opentelemetry.proto.trace.v1.rs"));
48            }
49        }
50        pub mod metrics {
51            pub mod v1 {
52                include!(concat!(
53                    env!("OUT_DIR"),
54                    "/opentelemetry.proto.metrics.v1.rs"
55                ));
56            }
57        }
58        pub mod common {
59            pub mod v1 {
60                include!(concat!(
61                    env!("OUT_DIR"),
62                    "/opentelemetry.proto.common.v1.rs"
63                ));
64            }
65        }
66        pub mod resource {
67            pub mod v1 {
68                include!(concat!(
69                    env!("OUT_DIR"),
70                    "/opentelemetry.proto.resource.v1.rs"
71                ));
72            }
73        }
74    }
75}