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

Breadcrumb

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

function MetricsService::initOnce

3 calls to MetricsService::initOnce()
ExportMetricsPartialSuccess::__construct in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php
Constructor.
ExportMetricsServiceRequest::__construct in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php
Constructor.
ExportMetricsServiceResponse::__construct in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php
Constructor.

File

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

Class

MetricsService

Namespace

GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1

Code

public static function initOnce() {
    $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
    if (static::$is_initialized == true) {
        return;
    }
    \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
    $pool->internalAddGeneratedFile('
�
>opentelemetry/proto/collector/metrics/v1/metrics_service.proto(opentelemetry.proto.collector.metrics.v1"h
ExportMetricsServiceRequestI
resource_metrics (2/.opentelemetry.proto.metrics.v1.ResourceMetrics"~
ExportMetricsServiceResponse^
partial_success (2E.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess"R
ExportMetricsPartialSuccess
rejected_data_points (

error_message (	2�
MetricsService�
ExportE.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequestF.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse"B�
+io.opentelemetry.proto.collector.metrics.v1BMetricsServiceProtoPZ3go.opentelemetry.io/proto/otlp/collector/metrics/v1�(OpenTelemetry.Proto.Collector.Metrics.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