OpenTelemetry PHP

ExportProfilesServiceRequest extends Message
in package

Generated from protobuf message <code>opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest</code>

Table of Contents

Properties

$resource_profiles  : mixed
An array of ResourceProfiles.

Methods

__construct()  : mixed
Constructor.
getResourceProfiles()  : RepeatedField
An array of ResourceProfiles.
setResourceProfiles()  : $this
An array of ResourceProfiles.

Properties

$resource_profiles

An array of ResourceProfiles.

private mixed $resource_profiles

For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.

Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;

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\ResourceProfiles[]|\Google\Protobuf\Internal\RepeatedField $resource_profiles
      An array of ResourceProfiles.
      For data coming from a single resource this array will typically contain one
      element. Intermediary nodes (such as OpenTelemetry Collector) that receive
      data from multiple origins typically batch the data before forwarding further and
      in that case this array will contain multiple elements.

}

getResourceProfiles()

An array of ResourceProfiles.

public getResourceProfiles() : RepeatedField

For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.

Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;

Return values
RepeatedField

setResourceProfiles()

An array of ResourceProfiles.

public setResourceProfiles(array<string|int, ResourceProfiles>|RepeatedField $var) : $this

For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.

Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;

Parameters
$var : array<string|int, ResourceProfiles>|RepeatedField
Return values
$this

        
On this page

Search results