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

declare(strict_types=1);

namespace OpenTelemetry\SDK\Metrics\View;

use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
use OpenTelemetry\SDK\Metrics\Instrument;

interface SelectionCriteriaInterface
{
    public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool;
}