function MetricFactoryInterface::createSynchronousWriter
Parameters
iterable<array{ViewProjection, MetricRegistrationInterface}> $views:
1 method overrides MetricFactoryInterface::createSynchronousWriter()
- StreamFactory::createSynchronousWriter in vendor/
open-telemetry/ sdk/ Metrics/ MetricFactory/ StreamFactory.php
File
-
vendor/
open-telemetry/ sdk/ Metrics/ MetricFactoryInterface.php, line 32
Class
- MetricFactoryInterface
- @internal
Namespace
OpenTelemetry\SDK\MetricsCode
public function createSynchronousWriter(MetricRegistryInterface $registry, ResourceInfo $resource, InstrumentationScopeInterface $instrumentationScope, Instrument $instrument, int $timestamp, iterable $views, ?ExemplarFilterInterface $exemplarFilter = null) : array;