Skip to content

Commit 024778c

Browse files
florianllmolkova
andauthored
profiles: drop profile.comment_strindices (#729)
Follow up as open-telemetry/semantic-conventions#2861 go merged. Signed-off-by: Florian Lehner <[email protected]> Co-authored-by: Liudmila Molkova <[email protected]>
1 parent da51680 commit 024778c

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The full list of changes can be found in the compare view for the respective rel
66

77
### Changed
88

9+
- profiles: drop field profile.comment_strindices. [#729](https://github.com/open-telemetry/opentelemetry-proto/pull/729)
910
- profiles: clarify the original payload field comments. [#722](https://github.com/open-telemetry/opentelemetry-proto/pull/722)
1011
- profiles: add a note about cardinality implications for attribute values. [#713](https://github.com/open-telemetry/opentelemetry-proto/pull/713)
1112
- profiles: rename line -> lines and sample -> samples since they are repeated fields. [#712](https://github.com/open-telemetry/opentelemetry-proto/pull/712)

opentelemetry/proto/profiles/v1development/profiles.proto

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -276,25 +276,19 @@ message Profile {
276276
ValueType period_type = 5;
277277
// The number of events between sampled occurrences.
278278
int64 period = 6;
279-
// Free-form text associated with the profile. The text is displayed as is
280-
// to the user by the tools that read profiles (e.g. by pprof). This field
281-
// should not be used to store any machine-readable information, it is only
282-
// for human-friendly content. The profile must stay functional if this field
283-
// is cleaned.
284-
repeated int32 comment_strindices = 7; // Indices into ProfilesDictionary.string_table.
285279

286280
// A globally unique identifier for a profile. The ID is a 16-byte array. An ID with
287281
// all zeroes is considered invalid. It may be used for deduplication and signal
288282
// correlation purposes. It is acceptable to treat two profiles with different values
289283
// in this field as not equal, even if they represented the same object at an earlier
290284
// time.
291285
// This field is optional; an ID may be assigned to an ID-less profile in a later step.
292-
bytes profile_id = 8;
286+
bytes profile_id = 7;
293287

294288
// The number of attributes that were discarded. Attributes
295289
// can be discarded because their keys are too long or because there are too many
296290
// attributes. If this value is 0, then no attributes were dropped.
297-
uint32 dropped_attributes_count = 9;
291+
uint32 dropped_attributes_count = 8;
298292

299293
// The original payload format. See also original_payload. Optional, but the
300294
// format and the bytes must be set or unset together.
@@ -315,13 +309,13 @@ message Profile {
315309
// The original payload can be large in size, so including the original
316310
// payload should be configurable by the profiler or collector options. The
317311
// default behavior should be to not include the original payload.
318-
string original_payload_format = 10;
312+
string original_payload_format = 9;
319313
// The original payload bytes. See also original_payload_format. Optional, but
320314
// format and the bytes must be set or unset together.
321-
bytes original_payload = 11;
315+
bytes original_payload = 10;
322316

323317
// References to attributes in attribute_table. [optional]
324-
repeated int32 attribute_indices = 12;
318+
repeated int32 attribute_indices = 11;
325319
}
326320

327321
// A pointer from a profile Sample to a trace Span.

0 commit comments

Comments
 (0)