Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ service ProfilesService {
}

message ExportProfilesServiceRequest {
// An array of ResourceProfiles.
// For data coming from a single resource this array will typically contain one
// element. Intermediary nodes (such as OpenTelemetry Collector) that receive
// data from multiple origins typically batch the data before forwarding further and
// in that case this array will contain multiple elements.
repeated opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;
// The ProfilesData.
// For data coming from a single resource this object will typically contain
// one element resource profiles. Intermediary nodes (such as OpenTelemetry
// Collector) that receive data from multiple origins typically batch the
// data before forwarding further and in that case there will be multiple
// resources.
Comment on lines +34 to +39
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add some of text from the proto here (in light of recent changes):

Suggested change
// The ProfilesData.
// For data coming from a single resource this object will typically contain
// one element resource profiles. Intermediary nodes (such as OpenTelemetry
// Collector) that receive data from multiple origins typically batch the
// data before forwarding further and in that case there will be multiple
// resources.
// The ProfilesData which contains an array of ResourceProfiles.
// For data coming from an SDK profiler, this array will typically contain one
// element. Host-level profilers will usually create one ResourceProfile per
// container, as well as one additional ResourceProfile grouping all samples
// from non-containerized processes. Intermediary nodes (such as OpenTelemetry
// Collector) that receive data from multiple origins typically batch the
// data before forwarding further and in that case there will also be multiple
// ResourceProfiles.

opentelemetry.proto.profiles.v1development.ProfilesData profiles_data = 1;
}

message ExportProfilesServiceResponse {
Expand Down