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

Breadcrumb

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

function SpanExporterInterface::export

@psalm-return FutureInterface<bool>

Parameters

iterable<SpanDataInterface> $batch Batch of spans to export:

See also

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

2 methods override SpanExporterInterface::export()
ConsoleSpanExporter::export in vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php
@psalm-return FutureInterface<bool>
SpanExporter::export in vendor/open-telemetry/exporter-otlp/SpanExporter.php
@psalm-return FutureInterface<bool>

File

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

Class

SpanExporterInterface

Namespace

OpenTelemetry\SDK\Trace

Code

public function export(iterable $batch, ?CancellationInterface $cancellation = null) : FutureInterface;

API Navigation

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