From c81b8d8f69fc8fcd12480663f68f8680dcc4c86d Mon Sep 17 00:00:00 2001 From: Francesco Andreuzzi Date: Thu, 29 May 2025 08:32:28 +0000 Subject: [PATCH] profile_id optional --- opentelemetry/proto/profiles/v1development/profiles.proto | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/opentelemetry/proto/profiles/v1development/profiles.proto b/opentelemetry/proto/profiles/v1development/profiles.proto index fe5a29b8..3a290ff9 100644 --- a/opentelemetry/proto/profiles/v1development/profiles.proto +++ b/opentelemetry/proto/profiles/v1development/profiles.proto @@ -247,9 +247,11 @@ message Profile { int32 default_sample_type_index = 9; // A globally unique identifier for a profile. The ID is a 16-byte array. An ID with - // all zeroes is considered invalid. - // - // This field is required. + // all zeroes is considered invalid. It may be used for deduplication and signal + // correlation purposes. It is acceptable to treat two profiles with different values + // in this field as not equal, even if they represented the same object at an earlier + // time. + // This field is optional; an ID may be assigned to an ID-less profile in a later step. bytes profile_id = 10; // dropped_attributes_count is the number of attributes that were discarded. Attributes