cdk-monitoring-constructs
Version:
[](https://gitpod.io/#https://github.com/cdklabs/cdk-monitoring-constructs) [](https://badge
16 lines (15 loc) • 784 B
TypeScript
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm";
import { MetricWithAlarmSupport } from "../../metric";
export interface AnomalyDetectionThreshold extends CustomAlarmThreshold {
readonly standardDeviationForAlarm: number;
readonly alarmWhenAboveTheBand: boolean;
readonly alarmWhenBelowTheBand: boolean;
readonly additionalDescription?: string;
}
export declare class AnomalyDetectingAlarmFactory {
protected readonly alarmFactory: AlarmFactory;
constructor(alarmFactory: AlarmFactory);
addAlarmWhenOutOfBand(metric: MetricWithAlarmSupport, alarmNameSuffix: string, disambiguator: string, props: AnomalyDetectionThreshold): import("../../alarm").AlarmWithAnnotation;
private getDefaultDescription;
private getComparisonOperator;
}