ttrss/vendor/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php

19 lines
314 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
use OpenTelemetry\API\Metrics\ObserverInterface;
/**
* @internal
*/
final class NoopObserver implements ObserverInterface
{
public function observe($amount, iterable $attributes = []): void
{
// no-op
}
}