summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php
blob: e26140b7cf08cf2f381d64732418a871a3db9bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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
    }
}