A MetricProducer which collects metrics from OpenCensus. Provide an instance to your MetricReader when you create it to include all OpenCensus metrics in the collection result:
const meterProvider = new MeterProvider();const reader = new PeriodicExportingMetricReader({ metricProducers: [new OpenCensusMetricProducer()], exporter: exporter,});meterProvider.addMetricReader(reader);
Collects the metrics from the SDK. If there are asynchronous Instruments involved, their callback functions will be triggered.
Generated using TypeDoc
A MetricProducer which collects metrics from OpenCensus. Provide an instance to your MetricReader when you create it to include all OpenCensus metrics in the collection result: