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

Breadcrumb

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

function InstrumentationLibraryMetrics::getMetrics

A list of metrics that originate from an instrumentation library.

Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>

Return value

\Google\Protobuf\Internal\RepeatedField

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php, line 109

Class

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

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function getMetrics() {
    return $this->metrics;
}

API Navigation

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