class InstrumentationScope

internal  
 

Retain a replayable OpenTelemetry instrumentation-scope descriptor.

Properties

array<non-empty-string, null|array|bool|float|int|string> $attributes

Methods

__construct(string $name, string|null $version = null, string|null $schemaUrl = null, iterable $attributes = [])

Create an instrumentation-scope descriptor.

Details

at line 22
__construct(string $name, string|null $version = null, string|null $schemaUrl = null, iterable $attributes = [])

Create an instrumentation-scope descriptor.

Parameters

string $name
string|null $version
string|null $schemaUrl
iterable $attributes