ProfilesDictionary
extends Message
in package
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.
Generated from protobuf message opentelemetry.proto.profiles.v1development.ProfilesDictionary
Table of Contents
Properties
- $attribute_table : mixed
- A common table for attributes referenced by various messages.
- $function_table : mixed
- Functions referenced by locations via Line.function_index.
- $link_table : mixed
- Links referenced by samples via Sample.link_index.
- $location_table : mixed
- Locations referenced by samples via Stack.location_indices.
- $mapping_table : mixed
- Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index.
- $stack_table : mixed
- Stacks referenced by samples via Sample.stack_index.
- $string_table : mixed
- A common table for strings referenced by various messages.
Methods
- __construct() : mixed
- Constructor.
- getAttributeTable() : RepeatedField
- A common table for attributes referenced by various messages.
- getFunctionTable() : RepeatedField
- Functions referenced by locations via Line.function_index.
- getLinkTable() : RepeatedField
- Links referenced by samples via Sample.link_index.
- getLocationTable() : RepeatedField
- Locations referenced by samples via Stack.location_indices.
- getMappingTable() : RepeatedField
- Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index.
- getStackTable() : RepeatedField
- Stacks referenced by samples via Sample.stack_index.
- getStringTable() : RepeatedField
- A common table for strings referenced by various messages.
- setAttributeTable() : $this
- A common table for attributes referenced by various messages.
- setFunctionTable() : $this
- Functions referenced by locations via Line.function_index.
- setLinkTable() : $this
- Links referenced by samples via Sample.link_index.
- setLocationTable() : $this
- Locations referenced by samples via Stack.location_indices.
- setMappingTable() : $this
- Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index.
- setStackTable() : $this
- Stacks referenced by samples via Sample.stack_index.
- setStringTable() : $this
- A common table for strings referenced by various messages.
Properties
$attribute_table
A common table for attributes referenced by various messages.
private
mixed
$attribute_table
It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.KeyValueAndUnit attribute_table = 6;
$function_table
Functions referenced by locations via Line.function_index.
private
mixed
$function_table
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Function function_table = 3;
$link_table
Links referenced by samples via Sample.link_index.
private
mixed
$link_table
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Link link_table = 4;
$location_table
Locations referenced by samples via Stack.location_indices.
private
mixed
$location_table
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Location location_table = 2;
$mapping_table
Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index.
private
mixed
$mapping_table
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 1;
$stack_table
Stacks referenced by samples via Sample.stack_index.
private
mixed
$stack_table
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Stack stack_table = 7;
$string_table
A common table for strings referenced by various messages.
private
mixed
$string_table
string_table[0] must always be "".
Generated from protobuf field repeated string string_table = 5;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Profiles\V1development\Mapping[]|\Google\Protobuf\Internal\RepeatedField $mapping_table Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index. @type \Opentelemetry\Proto\Profiles\V1development\Location[]|\Google\Protobuf\Internal\RepeatedField $location_table Locations referenced by samples via Stack.location_indices. @type \Opentelemetry\Proto\Profiles\V1development\PBFunction[]|\Google\Protobuf\Internal\RepeatedField $function_table Functions referenced by locations via Line.function_index. @type \Opentelemetry\Proto\Profiles\V1development\Link[]|\Google\Protobuf\Internal\RepeatedField $link_table Links referenced by samples via Sample.link_index. @type string[]|\Google\Protobuf\Internal\RepeatedField $string_table A common table for strings referenced by various messages. string_table[0] must always be "". @type \Opentelemetry\Proto\Profiles\V1development\KeyValueAndUnit[]|\Google\Protobuf\Internal\RepeatedField $attribute_table A common table for attributes referenced by various messages. It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute. @type \Opentelemetry\Proto\Profiles\V1development\Stack[]|\Google\Protobuf\Internal\RepeatedField $stack_table Stacks referenced by samples via Sample.stack_index.}
getAttributeTable()
A common table for attributes referenced by various messages.
public
getAttributeTable() : RepeatedField
It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.KeyValueAndUnit attribute_table = 6;
Return values
RepeatedFieldgetFunctionTable()
Functions referenced by locations via Line.function_index.
public
getFunctionTable() : RepeatedField
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Function function_table = 3;
Return values
RepeatedFieldgetLinkTable()
Links referenced by samples via Sample.link_index.
public
getLinkTable() : RepeatedField
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Link link_table = 4;
Return values
RepeatedFieldgetLocationTable()
Locations referenced by samples via Stack.location_indices.
public
getLocationTable() : RepeatedField
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Location location_table = 2;
Return values
RepeatedFieldgetMappingTable()
Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index.
public
getMappingTable() : RepeatedField
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 1;
Return values
RepeatedFieldgetStackTable()
Stacks referenced by samples via Sample.stack_index.
public
getStackTable() : RepeatedField
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Stack stack_table = 7;
Return values
RepeatedFieldgetStringTable()
A common table for strings referenced by various messages.
public
getStringTable() : RepeatedField
string_table[0] must always be "".
Generated from protobuf field repeated string string_table = 5;
Return values
RepeatedFieldsetAttributeTable()
A common table for attributes referenced by various messages.
public
setAttributeTable(array<string|int, KeyValueAndUnit>|RepeatedField $var) : $this
It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.KeyValueAndUnit attribute_table = 6;
Parameters
- $var : array<string|int, KeyValueAndUnit>|RepeatedField
Return values
$thissetFunctionTable()
Functions referenced by locations via Line.function_index.
public
setFunctionTable(array<string|int, PBFunction>|RepeatedField $var) : $this
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Function function_table = 3;
Parameters
- $var : array<string|int, PBFunction>|RepeatedField
Return values
$thissetLinkTable()
Links referenced by samples via Sample.link_index.
public
setLinkTable(array<string|int, Link>|RepeatedField $var) : $this
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Link link_table = 4;
Parameters
- $var : array<string|int, Link>|RepeatedField
Return values
$thissetLocationTable()
Locations referenced by samples via Stack.location_indices.
public
setLocationTable(array<string|int, Location>|RepeatedField $var) : $this
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Location location_table = 2;
Parameters
- $var : array<string|int, Location>|RepeatedField
Return values
$thissetMappingTable()
Mappings from address ranges to the image/binary/library mapped into that address range referenced by locations via Location.mapping_index.
public
setMappingTable(array<string|int, Mapping>|RepeatedField $var) : $this
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 1;
Parameters
- $var : array<string|int, Mapping>|RepeatedField
Return values
$thissetStackTable()
Stacks referenced by samples via Sample.stack_index.
public
setStackTable(array<string|int, Stack>|RepeatedField $var) : $this
Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Stack stack_table = 7;
Parameters
- $var : array<string|int, Stack>|RepeatedField
Return values
$thissetStringTable()
A common table for strings referenced by various messages.
public
setStringTable(array<string|int, string>|RepeatedField $var) : $this
string_table[0] must always be "".
Generated from protobuf field repeated string string_table = 5;
Parameters
- $var : array<string|int, string>|RepeatedField