summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Metrics/ViewRegistryInterface.php
blob: 19d8f9ffd1c58e59beb10c721bc62d4a15696b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Metrics;

use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;

interface ViewRegistryInterface
{
    /**
     * @return iterable<ViewProjection>|null
     */
    public function find(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): ?iterable;
}