opentelemetry_proto/
proto.rs1pub const LOGS_REQUEST_MESSAGE_TYPE: &str =
2 "opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest";
3pub const TRACES_REQUEST_MESSAGE_TYPE: &str =
4 "opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest";
5pub const METRICS_REQUEST_MESSAGE_TYPE: &str =
6 "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest";
7
8pub const RESOURCE_LOGS_JSON_FIELD: &str = "resourceLogs";
10pub const RESOURCE_METRICS_JSON_FIELD: &str = "resourceMetrics";
11pub const RESOURCE_SPANS_JSON_FIELD: &str = "resourceSpans";
12
13pub mod collector {
15 pub mod trace {
16 pub mod v1 {
17 tonic::include_proto!("opentelemetry.proto.collector.trace.v1");
18 }
19 }
20 pub mod logs {
21 pub mod v1 {
22 tonic::include_proto!("opentelemetry.proto.collector.logs.v1");
23 }
24 }
25 pub mod metrics {
26 pub mod v1 {
27 tonic::include_proto!("opentelemetry.proto.collector.metrics.v1");
28 }
29 }
30}
31
32pub mod common {
34 pub mod v1 {
35 tonic::include_proto!("opentelemetry.proto.common.v1");
36 }
37}
38
39pub mod logs {
41 pub mod v1 {
42 tonic::include_proto!("opentelemetry.proto.logs.v1");
43 }
44}
45
46pub mod metrics {
48 pub mod v1 {
49 tonic::include_proto!("opentelemetry.proto.metrics.v1");
50 }
51}
52
53pub mod trace {
55 pub mod v1 {
56 tonic::include_proto!("opentelemetry.proto.trace.v1");
57 }
58}
59
60pub mod resource {
62 pub mod v1 {
63 tonic::include_proto!("opentelemetry.proto.resource.v1");
64 }
65}
66
67include!(concat!(env!("OUT_DIR"), "/opentelemetry-proto.rs"));