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

Breadcrumb

  1. Drupal Core 11.1.x

NoopMetricExporter.php

Namespace

OpenTelemetry\SDK\Metrics\MetricExporter

File

vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Metrics\MetricExporter;

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

}

Classes

Title Deprecated Summary
NoopMetricExporter

API Navigation

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