Options
All
  • Public
  • Public/Protected
  • All
Menu

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:

example
const meterProvider = new MeterProvider();
const reader = new PeriodicExportingMetricReader({
metricProducers: [new OpenCensusMetricProducer()],
exporter: exporter,
});
meterProvider.addMetricReader(reader);

Hierarchy

  • OpenCensusMetricProducer

Implements

Index

Constructors

Methods

Constructors

Methods

Generated using TypeDoc