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

Breadcrumb

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

function MetricConfigRequest::getResource

Required. The resource for which configuration should be returned.

Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>

Return value

\Opentelemetry\Proto\Resource\V1\Resource

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php, line 54

Class

MetricConfigRequest
Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigRequest</code>

Namespace

Opentelemetry\Proto\Metrics\Experimental

Code

public function getResource() {
    return isset($this->resource) ? $this->resource : null;
}

API Navigation

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