UNPKG

cdk-monitoring-constructs

Version:

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/cdklabs/cdk-monitoring-constructs) [![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge

16 lines (15 loc) 784 B
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; }