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

Breadcrumb

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

function Resource::initOnce

5 calls to Resource::initOnce()
Logs::initOnce in vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.php
Metrics::initOnce in vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php
MetricsConfigService::initOnce in vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php
Resource::__construct in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php
Constructor.
Trace::initOnce in vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php

File

vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php, line 11

Class

Resource

Namespace

GPBMetadata\Opentelemetry\Proto\Resource\V1

Code

public static function initOnce() {
    $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
    if (static::$is_initialized == true) {
        return;
    }
    \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
    $pool->internalAddGeneratedFile('
�
.opentelemetry/proto/resource/v1/resource.protoopentelemetry.proto.resource.v1"i
Resource;

attributes (2\'.opentelemetry.proto.common.v1.KeyValue 
dropped_attributes_count (
B�
"io.opentelemetry.proto.resource.v1B
ResourceProtoPZ*go.opentelemetry.io/proto/otlp/resource/v1�OpenTelemetry.Proto.Resource.V1bproto3', true);
    static::$is_initialized = true;
}

API Navigation

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