1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#[cfg(feature = "tonic")]
pub mod collector {
    pub mod metrics {
        pub mod v1 {
            include!(concat!(env!("OUT_DIR"), "/tonic", "/opentelemetry.proto.collector.metrics.v1.rs"));
        }
    }

    pub mod trace {
        pub mod v1 {
            include!(concat!(env!("OUT_DIR"), "/tonic", "/opentelemetry.proto.collector.trace.v1.rs"));
        }
    }
}

#[cfg(feature = "tonic")]
pub mod common {
    pub mod v1 {
        include!(concat!(env!("OUT_DIR"), "/tonic", "/opentelemetry.proto.common.v1.rs"));
    }
}

#[cfg(feature = "tonic")]
pub mod metrics {
    pub mod v1 {
        include!(concat!(env!("OUT_DIR"), "/tonic", "/opentelemetry.proto.metrics.v1.rs"));
    }
}

#[cfg(feature = "tonic")]
pub mod resource {
    pub mod v1 {
        include!(concat!(env!("OUT_DIR"), "/tonic", "/opentelemetry.proto.resource.v1.rs"));
    }
}

#[cfg(feature = "tonic")]
pub mod trace {
    pub mod v1 {
        include!(concat!(env!("OUT_DIR"), "/tonic", "/opentelemetry.proto.trace.v1.rs"));
    }
}

#[cfg(feature="http-proto")]
pub mod prost {
    pub mod collector {
        pub mod metrics {
            pub mod v1 {
                include!(concat!(env!("OUT_DIR"), "/prost", "/opentelemetry.proto.collector.metrics.v1.rs"));
            }
        }

        pub mod trace {
            pub mod v1 {
                include!(concat!(env!("OUT_DIR"), "/prost", "/opentelemetry.proto.collector.trace.v1.rs"));
            }
        }
    }

    pub mod common {
        pub mod v1 {
                include!(concat!(env!("OUT_DIR"), "/prost", "/opentelemetry.proto.common.v1.rs"));
        }
    }

    pub mod metrics {
        pub mod v1 {
                include!(concat!(env!("OUT_DIR"), "/prost", "/opentelemetry.proto.metrics.v1.rs"));
        }
    }

    pub mod resource {
        pub mod v1 {
                include!(concat!(env!("OUT_DIR"), "/prost", "/opentelemetry.proto.resource.v1.rs"));
        }
    }

    pub mod trace {
        pub mod v1 {
                include!(concat!(env!("OUT_DIR"), "/prost", "/opentelemetry.proto.trace.v1.rs"));
        }
    }
}

#[cfg(feature = "grpc-sys")]
pub(crate) mod grpcio {
    pub(crate) mod common;
    pub(crate) mod metrics;
    pub(crate) mod metrics_service;
    pub(crate) mod metrics_service_grpc;
    pub(crate) mod resource;
    pub(crate) mod trace;
    pub(crate) mod trace_config;
    pub(crate) mod trace_service;
    pub(crate) mod trace_service_grpc;
}