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

Breadcrumb

  1. Drupal Core 11.1.x

NoopTracerProvider.php

Same filename in this branch
  1. 11.1.x vendor/open-telemetry/api/Trace/NoopTracerProvider.php

Namespace

OpenTelemetry\SDK\Trace

File

vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Trace;

use OpenTelemetry\API;
use OpenTelemetry\SDK\Common\Future\CancellationInterface;
use OpenTelemetry\SDK\Common\InstrumentationScope\Configurator;
class NoopTracerProvider extends API\Trace\NoopTracerProvider implements TracerProviderInterface {
    public function forceFlush(?CancellationInterface $cancellation = null) : bool {
        return true;
    }
    public function shutdown(?CancellationInterface $cancellation = null) : bool {
        return true;
    }
    public function updateConfigurator(Configurator $configurator) : void {
    }

}

Classes

Title Deprecated Summary
NoopTracerProvider

API Navigation

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