solarwinds-apm
Version:
OpenTelemetry-based SolarWinds APM library
19 lines • 962 B
TypeScript
import { OTLPMetricExporter } from "@opentelemetry/exporter-metrics-otlp-proto";
import { type AggregationOption, AggregationTemporality, InstrumentType, PeriodicExportingMetricReader, type PeriodicExportingMetricReaderOptions } from "@opentelemetry/sdk-metrics";
import { type Configuration } from "../shared/config.js";
export declare class MetricExporter extends OTLPMetricExporter {
constructor(config: Configuration & {
trustedpath?: string;
});
selectAggregationTemporality(): AggregationTemporality;
}
export interface MetricReaderOptions extends PeriodicExportingMetricReaderOptions {
cardinalityLimit?: number;
}
export declare class MetricReader extends PeriodicExportingMetricReader {
#private;
constructor(options: MetricReaderOptions);
selectAggregation(instrumentType: InstrumentType): AggregationOption;
selectCardinalityLimit(instrumentType: InstrumentType): number;
}
//# sourceMappingURL=metrics.d.ts.map