interface MetricFactoryInterface
@internal
Hierarchy
- interface \OpenTelemetry\SDK\Metrics\MetricFactoryInterface
Expanded class hierarchy of MetricFactoryInterface
All classes that implement MetricFactoryInterface
1 file declares its use of MetricFactoryInterface
- StreamFactory.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricFactory/ StreamFactory.php
File
-
vendor/
open-telemetry/ sdk/ Metrics/ MetricFactoryInterface.php, line 15
Namespace
OpenTelemetry\SDK\MetricsView source
interface MetricFactoryInterface {
/**
* @param iterable<array{ViewProjection, MetricRegistrationInterface}> $views
*/
public function createAsynchronousObserver(MetricRegistryInterface $registry, ResourceInfo $resource, InstrumentationScopeInterface $instrumentationScope, Instrument $instrument, int $timestamp, iterable $views) : array;
/**
* @param iterable<array{ViewProjection, MetricRegistrationInterface}> $views
*/
public function createSynchronousWriter(MetricRegistryInterface $registry, ResourceInfo $resource, InstrumentationScopeInterface $instrumentationScope, Instrument $instrument, int $timestamp, iterable $views, ?ExemplarFilterInterface $exemplarFilter = null) : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
MetricFactoryInterface::createAsynchronousObserver | public | function | 1 | |
MetricFactoryInterface::createSynchronousWriter | public | function | 1 |