19 lines
323 B
PHP
19 lines
323 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace OpenTelemetry\API\Metrics\Noop;
|
||
|
|
||
|
use OpenTelemetry\API\Metrics\HistogramInterface;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
final class NoopHistogram implements HistogramInterface
|
||
|
{
|
||
|
public function record($amount, iterable $attributes = [], $context = null): void
|
||
|
{
|
||
|
// no-op
|
||
|
}
|
||
|
}
|