@opentelemetry/exporter-metrics-otlp-http
Version:
OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector
16 lines • 1.23 kB
TypeScript
import type { AggregationTemporalitySelector, PushMetricExporter, ResourceMetrics, AggregationOption } from '@opentelemetry/sdk-metrics';
import { AggregationTemporality, InstrumentType } from '@opentelemetry/sdk-metrics';
import type { OTLPMetricExporterOptions } from './OTLPMetricExporterOptions';
import type { IOtlpExportDelegate } from '@opentelemetry/otlp-exporter-base';
import { OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
export declare const CumulativeTemporalitySelector: AggregationTemporalitySelector;
export declare const DeltaTemporalitySelector: AggregationTemporalitySelector;
export declare const LowMemoryTemporalitySelector: AggregationTemporalitySelector;
export declare class OTLPMetricExporterBase extends OTLPExporterBase<ResourceMetrics> implements PushMetricExporter {
private readonly _aggregationTemporalitySelector;
private readonly _aggregationSelector;
constructor(delegate: IOtlpExportDelegate<ResourceMetrics>, config?: OTLPMetricExporterOptions);
selectAggregation(instrumentType: InstrumentType): AggregationOption;
selectAggregationTemporality(instrumentType: InstrumentType): AggregationTemporality;
}
//# sourceMappingURL=OTLPMetricExporterBase.d.ts.map