ttrss/vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php

19 lines
332 B
PHP
Raw Permalink Normal View History

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