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

Breadcrumb

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

function InstrumentationLibrarySpans::__construct

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library The instrumentation library information for the spans in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown). @type \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $spans A list of Spans that originate from an instrumentation library. @type string $schema_url This schema_url applies to all spans and span events in the "spans" field. }

Overrides Message::__construct

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php, line 58

Class

InstrumentationLibrarySpans
A collection of Spans produced by an InstrumentationLibrary. InstrumentationLibrarySpans is wire-compatible with ScopeSpans for binary Protobuf format. This message is deprecated and will be removed on June 15, 2022.

Namespace

Opentelemetry\Proto\Trace\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::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