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

Breadcrumb

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

interface SpanExporterInterface

Hierarchy

  • interface \OpenTelemetry\SDK\Trace\SpanExporterInterface

Expanded class hierarchy of SpanExporterInterface

All classes that implement SpanExporterInterface

See also

https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7…

13 files declare their use of SpanExporterInterface
BatchSpanProcessor.php in vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php
BatchSpanProcessorBuilder.php in vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php
ConsoleSpanExporter.php in vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php
ConsoleSpanExporterFactory.php in vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php
InMemoryExporter.php in vendor/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php

... See full list

File

vendor/open-telemetry/sdk/Trace/SpanExporterInterface.php, line 13

Namespace

OpenTelemetry\SDK\Trace
View source
interface SpanExporterInterface {
    
    /**
     * @param iterable<SpanDataInterface> $batch Batch of spans to export
     *
     * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#exportbatch
     *
     * @psalm-return FutureInterface<bool>
     */
    public function export(iterable $batch, ?CancellationInterface $cancellation = null) : FutureInterface;
    
    /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#shutdown-2 */
    public function shutdown(?CancellationInterface $cancellation = null) : bool;
    
    /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#forceflush-2 */
    public function forceFlush(?CancellationInterface $cancellation = null) : bool;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
SpanExporterInterface::export public function @psalm-return FutureInterface&lt;bool&gt; 2
SpanExporterInterface::forceFlush public function @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#forceflush-2 2
SpanExporterInterface::shutdown public function @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#shutdown-2 2

API Navigation

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