diff --git a/opentelemetry/proto/profiles/v1development/profiles.proto b/opentelemetry/proto/profiles/v1development/profiles.proto index 92dd04cf..9df3d370 100644 --- a/opentelemetry/proto/profiles/v1development/profiles.proto +++ b/opentelemetry/proto/profiles/v1development/profiles.proto @@ -144,6 +144,13 @@ message ScopeProfiles { // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url // This schema_url applies to all profiles in the "profiles" field. string schema_url = 3; + + // Lookup table for attributes. + repeated opentelemetry.proto.common.v1.KeyValue attribute_table = 4; + + // A common table for strings referenced by various messages. + // string_table[0] must always be "". + repeated string string_table = 5; } // Profile is a common stacktrace profile format. @@ -201,15 +208,10 @@ message Profile { repeated int32 location_indices = 5; // Functions referenced by locations. repeated Function function_table = 6; - // Lookup table for attributes. - repeated opentelemetry.proto.common.v1.KeyValue attribute_table = 7; // Represents a mapping between Attribute Keys and Units. repeated AttributeUnit attribute_units = 8; // Lookup table for links. repeated Link link_table = 9; - // A common table for strings referenced by various messages. - // string_table[0] must always be "". - repeated string string_table = 10; // The following fields 9-14 are informational, do not affect // interpretation of results. @@ -383,7 +385,7 @@ message Sample { // result has a list of values that is the element-wise sum of the // lists of the originals. repeated int64 value = 3; - // References to attributes in Profile.attribute_table. [optional] + // References to attributes in ScopeProfiles.attribute_table. [optional] repeated int32 attribute_indices = 4; // Reference to link in Profile.link_table. [optional] @@ -407,7 +409,7 @@ message Mapping { // disk for the main binary and shared libraries, or virtual // abstractions like "[vdso]". int32 filename_strindex = 4; // Index into string table - // References to attributes in Profile.attribute_table. [optional] + // References to attributes in ScopeProfiles.attribute_table. [optional] repeated int32 attribute_indices = 5; // The following fields indicate the resolution of symbolic info. bool has_functions = 6; @@ -443,7 +445,7 @@ message Location { // profile changes. bool is_folded = 4; - // References to attributes in Profile.attribute_table. [optional] + // References to attributes in ScopeProfiles.attribute_table. [optional] repeated int32 attribute_indices = 5; }