@@ -12,6 +12,7 @@ const TONIC_PROTO_FILES: &[&str] = &[
1212 "src/proto/opentelemetry-proto/opentelemetry/proto/collector/metrics/v1/metrics_service.proto" ,
1313 "src/proto/opentelemetry-proto/opentelemetry/proto/logs/v1/logs.proto" ,
1414 "src/proto/opentelemetry-proto/opentelemetry/proto/collector/logs/v1/logs_service.proto" ,
15+ "src/proto/opentelemetry-proto/opentelemetry/proto/profiles/v1development/profiles.proto" ,
1516 "src/proto/tracez.proto" ,
1617] ;
1718const TONIC_INCLUDES : & [ & str ] = & [ "src/proto/opentelemetry-proto" , "src/proto" ] ;
@@ -66,6 +67,7 @@ fn build_tonic() {
6667 "metrics.v1.Summary" ,
6768 "metrics.v1.NumberDataPoint" ,
6869 "metrics.v1.HistogramDataPoint" ,
70+ "profiles.v1development.Function"
6971 ] {
7072 builder = builder. type_attribute (
7173 path,
@@ -87,6 +89,7 @@ fn build_tonic() {
8789 "logs.v1.LogRecord.trace_id" ,
8890 "metrics.v1.Exemplar.span_id" ,
8991 "metrics.v1.Exemplar.trace_id" ,
92+ "profiles.v1development.Profile.profile_id" ,
9093 ] {
9194 builder = builder
9295 . field_attribute ( path, "#[cfg_attr(feature = \" with-serde\" , serde(serialize_with = \" crate::proto::serializers::serialize_to_hex_string\" , deserialize_with = \" crate::proto::serializers::deserialize_from_hex_string\" ))]" )
@@ -106,6 +109,8 @@ fn build_tonic() {
106109 "metrics.v1.HistogramDataPoint.time_unix_nano" ,
107110 "metrics.v1.NumberDataPoint.start_time_unix_nano" ,
108111 "metrics.v1.NumberDataPoint.time_unix_nano" ,
112+ "profiles.v1development.Sample.timestamps_unix_nano" ,
113+ "profiles.v1development.Profile.time_nanos" ,
109114 ] {
110115 builder = builder
111116 . field_attribute ( path, "#[cfg_attr(feature = \" with-serde\" , serde(serialize_with = \" crate::proto::serializers::serialize_u64_to_string\" , deserialize_with = \" crate::proto::serializers::deserialize_string_to_u64\" ))]" )
0 commit comments