diff --git a/opentelemetry/proto/profiles/v1development/profiles.proto b/opentelemetry/proto/profiles/v1development/profiles.proto index 7de8b010e..20f0082e9 100644 --- a/opentelemetry/proto/profiles/v1development/profiles.proto +++ b/opentelemetry/proto/profiles/v1development/profiles.proto @@ -92,13 +92,12 @@ option go_package = "go.opentelemetry.io/proto/otlp/profiles/v1development"; // ProfilesDictionary represents the profiles data shared across the // entire message being sent. +// +// Note that all fields in this message MUST have a zero value encoded as the first element. +// This allows for _index fields pointing into the dictionary to use a 0 pointer value +// to indicate 'null' / 'not set'. Unless otherwise defined, a 'zero value' message value +// is one with all default field values, so as to minimize wire encoded size. message ProfilesDictionary { - - // Note all fields in this message MUST have a zero value encoded as the first element. - // This allows for _index fields pointing into the dictionary to use a 0 pointer value - // to indicate 'null' / 'not set'. Unless otherwise defined, a 'zero value' message value - // is one with all default field values, so as to minimize wire encoded size. - // Mappings from address ranges to the image/binary/library mapped // into that address range referenced by locations via Location.mapping_index. repeated Mapping mapping_table = 1;