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

Breadcrumb

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

function InstrumentationScopeSchemaUrlCriteria::accepts

Overrides SelectionCriteriaInterface::accepts

File

vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php, line 17

Class

InstrumentationScopeSchemaUrlCriteria

Namespace

OpenTelemetry\SDK\Metrics\View\SelectionCriteria

Code

public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope) : bool {
    return $this->schemaUrl === $instrumentationScope->getSchemaUrl();
}
RSS feed
Powered by Drupal