ttrss/vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php

18 lines
302 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics;
use OpenTelemetry\SDK\Metrics\Data\Metric;
interface MetricExporterInterface
{
/**
* @param iterable<int, Metric> $batch
*/
public function export(iterable $batch): bool;
public function shutdown(): bool;
}