MediaWiki master
|
An ExporterInterface
that exports collected data over HTTP, serialized in OTLP JSON format.
More...
Inherits Wikimedia\Telemetry\ExporterInterface.
Public Member Functions | ||||
__construct (ClientInterface $client, RequestFactoryInterface $requestFactory, LoggerInterface $logger, string $uri, string $serviceName, string $hostName) | ||||
export (TracerState $tracerState) | ||||
Export all trace data.
| ||||
An ExporterInterface
that exports collected data over HTTP, serialized in OTLP JSON format.
Definition at line 16 of file OtlpHttpExporter.php.
Wikimedia\Telemetry\OtlpHttpExporter::__construct | ( | ClientInterface | $client, |
RequestFactoryInterface | $requestFactory, | ||
LoggerInterface | $logger, | ||
string | $uri, | ||
string | $serviceName, | ||
string | $hostName ) |
Definition at line 39 of file OtlpHttpExporter.php.
Wikimedia\Telemetry\OtlpHttpExporter::export | ( | TracerState | $tracerState | ) |
Export all trace data.
TracerState | $tracerState |
Implements Wikimedia\Telemetry\ExporterInterface.
Definition at line 56 of file OtlpHttpExporter.php.