summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php')
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php
new file mode 100644
index 000000000..8abd6fa69
--- /dev/null
+++ b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php
@@ -0,0 +1,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;
+}