Optional
options: ConsoleMetricExporterOptionsCalled to export sampled ResourceMetrics.
the metric data to be exported.
callback for when the export has completed
Ensure that the export of any metrics the exporter has received is completed before the returned promise is settled.
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.
This is an implementation of PushMetricExporter that prints metrics to the console. This class can be used for diagnostic purposes.
NOTE: This PushMetricExporter is intended for diagnostics use only, output rendered to the console may change at any time.