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