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

Breadcrumb

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

class NoopMetricExporter

Hierarchy

  • class \OpenTelemetry\SDK\Metrics\MetricExporter\NoopMetricExporter implements \OpenTelemetry\SDK\Metrics\MetricExporterInterface

Expanded class hierarchy of NoopMetricExporter

1 file declares its use of NoopMetricExporter
MeterProviderFactory.php in vendor/open-telemetry/sdk/Metrics/MeterProviderFactory.php

File

vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php, line 9

Namespace

OpenTelemetry\SDK\Metrics\MetricExporter
View source
class NoopMetricExporter implements MetricExporterInterface {
    
    /**
     * @inheritDoc
     */
    public function export(iterable $batch) : bool {
        return true;
    }
    public function shutdown() : bool {
        return true;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopMetricExporter::export public function @inheritDoc Overrides MetricExporterInterface::export
NoopMetricExporter::shutdown public function Overrides MetricExporterInterface::shutdown
RSS feed
Powered by Drupal