1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-27 16:47:59 +02:00
ttrss/vendor/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php
2023-10-20 21:13:39 +03:00

17 lines
426 B
PHP

<?php
declare(strict_types=1);
namespace OpenTelemetry\API\Metrics;
interface ObservableUpDownCounterInterface
{
/**
* @param callable(ObserverInterface): void $callback function responsible for
* reporting the measurements (as absolute values)
* @return ObservableCallbackInterface token to detach callback
*/
public function observe(callable $callback): ObservableCallbackInterface;
}