OpenTelemetry PHP

ScopeProfiles extends Message
in package

A collection of Profiles produced by an InstrumentationScope.

Generated from protobuf message opentelemetry.proto.profiles.v1development.ScopeProfiles

Table of Contents

Properties

$schema_url  : mixed
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
$scope  : mixed
The instrumentation scope information for the profiles in this message.
$profiles  : mixed
A list of Profiles that originate from an instrumentation scope.

Methods

__construct()  : mixed
Constructor.
clearScope()  : mixed
getProfiles()  : RepeatedField
A list of Profiles that originate from an instrumentation scope.
getSchemaUrl()  : string
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
getScope()  : InstrumentationScope|null
The instrumentation scope information for the profiles in this message.
hasScope()  : mixed
setProfiles()  : $this
A list of Profiles that originate from an instrumentation scope.
setSchemaUrl()  : $this
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
setScope()  : $this
The instrumentation scope information for the profiles in this message.

Properties

$schema_url

The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.

protected mixed $schema_url = ''

Generated from protobuf field string schema_url = 3;

$scope

The instrumentation scope information for the profiles in this message.

protected mixed $scope = null

Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).

Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;

$profiles

A list of Profiles that originate from an instrumentation scope.

private mixed $profiles

Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;

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\Common\V1\InstrumentationScope $scope
      The instrumentation scope information for the profiles in this message.
      Semantically when InstrumentationScope isn't set, it is equivalent with
      an empty instrumentation scope name (unknown).
@type \Opentelemetry\Proto\Profiles\V1development\Profile[]|\Google\Protobuf\Internal\RepeatedField $profiles
      A list of Profiles that originate from an instrumentation scope.
@type string $schema_url
      The Schema URL, if known. This is the identifier of the Schema that the profile data
      is recorded in. Notably, the last part of the URL path is the version number of the
      schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
      https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
      This schema_url applies to all profiles in the "profiles" field.

}

getProfiles()

A list of Profiles that originate from an instrumentation scope.

public getProfiles() : RepeatedField

Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;

Return values
RepeatedField

getSchemaUrl()

The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.

public getSchemaUrl() : string

Generated from protobuf field string schema_url = 3;

Return values
string

getScope()

The instrumentation scope information for the profiles in this message.

public getScope() : InstrumentationScope|null

Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).

Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;

Return values
InstrumentationScope|null

setProfiles()

A list of Profiles that originate from an instrumentation scope.

public setProfiles(array<string|int, Profile>|RepeatedField $var) : $this

Generated from protobuf field repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;

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

setSchemaUrl()

The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.

public setSchemaUrl(string $var) : $this

Generated from protobuf field string schema_url = 3;

Parameters
$var : string
Return values
$this

setScope()

The instrumentation scope information for the profiles in this message.

public setScope(InstrumentationScope $var) : $this

Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).

Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;

Parameters
$var : InstrumentationScope
Return values
$this

        
On this page

Search results