19 lines
314 B
PHP
19 lines
314 B
PHP
|
<?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
|
||
|
}
|
||
|
}
|