We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5141f7 commit a382767Copy full SHA for a382767
packages/opentelemetry-metrics/src/export/types.ts
@@ -342,9 +342,12 @@ export interface MetricProducer {
342
* Base interface that represents a metric exporter
343
*/
344
export interface MetricExporter {
345
- /** Exports the list of a given metric */
+ /** Exports the list of a given {@link ReadableMetric} */
346
export(
347
metrics: ReadableMetric[],
348
resultCallback: (result: ExportResult) => void
349
): void;
350
+
351
+ /** Stops the exporter. */
352
+ shutdown(): void;
353
}
0 commit comments