@splunk/otel
Version:
The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.
14 lines • 745 B
TypeScript
import { AggregationTemporality, PushMetricExporter, ResourceMetrics, InstrumentType } from '@opentelemetry/sdk-metrics';
import { ExportResult } from '@opentelemetry/core';
export interface ConsoleMetricExporterOptions {
temporalityPreference?: AggregationTemporality;
}
export declare class ConsoleMetricExporter implements PushMetricExporter {
private _aggregationTemporality;
constructor(options?: ConsoleMetricExporterOptions);
export(metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void): void;
selectAggregationTemporality(_instrumentType: InstrumentType): AggregationTemporality;
forceFlush(): Promise<void>;
shutdown(): Promise<void>;
}
//# sourceMappingURL=ConsoleMetricExporter.d.ts.map