function InstrumentationScope::__construct
Same name in this branch
- 11.1.x vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php \OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScope::__construct()
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type string $name An empty instrumentation scope name means the name is unknown. @type string $version @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes Additional attributes that describe the scope. [Optional]. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). @type int $dropped_attributes_count }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Common/ V1/ InstrumentationScope.php, line 58
Class
- InstrumentationScope
- InstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version.
Namespace
Opentelemetry\Proto\Common\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
parent::__construct($data);
}