Ensure that the export of any metrics the exporter has received is completed before the returned promise is settled.
Returns all the collected resource metrics
ResourceMetrics[]
Select the AggregationTemporality for the given InstrumentType for this exporter.
Returns a promise which resolves when the last exportation is completed. Further calls to PushMetricExporter.export may not export the data.
Generated using TypeDoc
In-memory Metrics Exporter is a Push Metric Exporter which accumulates metrics data in the local memory and allows to inspect it (useful for e.g. unit tests).