Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InstrumentationScope.php

function InstrumentationScope::__construct

Same name in this branch
  1. 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\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
    parent::__construct($data);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal