import { AggregationTemporality } from "./AggregationTemporality.cjs"; import { InstrumentType, ResourceMetrics } from "./MetricData.cjs"; import { AggregationTemporalitySelector } from "./AggregationSelector.cjs"; import { PushMetricExporter } from "./MetricExporter.cjs"; import { ExportResult } from "@opentelemetry/core"; //#region src/export/ConsoleMetricExporter.d.ts interface ConsoleMetricExporterOptions { temporalitySelector?: AggregationTemporalitySelector; } /** * This is an implementation of {@link PushMetricExporter} that prints metrics to the * console. This class can be used for diagnostic purposes. * * NOTE: This {@link PushMetricExporter} is intended for diagnostics use only, output rendered to the console may change at any time. */ declare class ConsoleMetricExporter implements PushMetricExporter { protected _shutdown: boolean; protected _temporalitySelector: AggregationTemporalitySelector; constructor(options?: ConsoleMetricExporterOptions); export(metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void): void; forceFlush(): Promise; selectAggregationTemporality(_instrumentType: InstrumentType): AggregationTemporality; shutdown(): Promise; private static _sendMetrics; } //#endregion export { ConsoleMetricExporter }; //# sourceMappingURL=ConsoleMetricExporter.d.cts.map