Overrides MetricSourceInterface::collect
public function collect() : Metric { return new Metric($this->provider->instrumentationLibrary, $this->provider->resource, $this->provider->view->name, $this->provider->view->unit, $this->provider->view->description, $this->provider->stream ->collect($this->reader)); }