Skip to content

Commit c5fde17

Browse files
authored
feat: generate protos for profiles collector (#3077)
1 parent 0e3511e commit c5fde17

File tree

4 files changed

+386
-1
lines changed

4 files changed

+386
-1
lines changed

opentelemetry-proto/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## vNext
44

55
- Update proto definitions to v1.7.0.
6+
- Added Rust generated protos for profiles collector. [#3077](https://github.com/open-telemetry/opentelemetry-rust/pull/3077)
7+
- **Breaking change**: package opentelemetry_proto::tonic::profiles::v1 renamed to opentelemetry_proto::tonic::profiles::v1development. [#3077](https://github.com/open-telemetry/opentelemetry-rust/pull/3077)
68

79
## 0.30.0
810

opentelemetry-proto/src/proto.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ pub mod tonic {
242242
#[path = "opentelemetry.proto.collector.trace.v1.rs"]
243243
pub mod v1;
244244
}
245+
246+
#[cfg(feature = "profiles")]
247+
#[path = ""]
248+
pub mod profiles {
249+
#[path = "opentelemetry.proto.collector.profiles.v1development.rs"]
250+
pub mod v1development;
251+
}
245252
}
246253

247254
/// Common types used across all signals
@@ -295,7 +302,7 @@ pub mod tonic {
295302
#[path = ""]
296303
pub mod profiles {
297304
#[path = "opentelemetry.proto.profiles.v1development.rs"]
298-
pub mod v1;
305+
pub mod v1development;
299306
}
300307

301308
pub use crate::transform::common::tonic::Attributes;

0 commit comments

Comments
 (0)