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

Breadcrumb

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

function MetricSourceInterface::collect

Collects metric data from the underlying provider.

Return value

Metric collected metric

1 method overrides MetricSourceInterface::collect()
StreamMetricSource::collect in vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php
Collects metric data from the underlying provider.

File

vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php, line 23

Class

MetricSourceInterface

Namespace

OpenTelemetry\SDK\Metrics

Code

public function collect() : Metric;

API Navigation

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