Skip to content

feat: generate protos for profiles collector #3077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions opentelemetry-proto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## vNext

- Update proto definitions to v1.7.0.
- Added Rust generated protos for profiles collector. [#3077](https://github.com/open-telemetry/opentelemetry-rust/pull/3077)
- **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)

## 0.30.0

Expand Down
9 changes: 8 additions & 1 deletion opentelemetry-proto/src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ pub mod tonic {
#[path = "opentelemetry.proto.collector.trace.v1.rs"]
pub mod v1;
}

#[cfg(feature = "profiles")]
#[path = ""]
pub mod profiles {
#[path = "opentelemetry.proto.collector.profiles.v1development.rs"]
pub mod v1development;
}
}

/// Common types used across all signals
Expand Down Expand Up @@ -295,7 +302,7 @@ pub mod tonic {
#[path = ""]
pub mod profiles {
#[path = "opentelemetry.proto.profiles.v1development.rs"]
pub mod v1;
pub mod v1development;
}

pub use crate::transform::common::tonic::Attributes;
Expand Down
Loading
Loading