OpenTelemetry SDK
    Preparing search index...

    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.

    Implements

    Index
    • Parameters

      • Optionaloptions: ConsoleMetricExporterOptions

      Returns metrics.ConsoleMetricExporter

    _shutdown: boolean
    • Ensure that the export of any metrics the exporter has received is completed before the returned promise is settled.

      Returns Promise<void>

    • Returns a promise which resolves when the last exportation is completed. Further calls to PushMetricExporter.export may not export the data.

      Returns Promise<void>