UNPKG

cdk-monitoring-constructs

Version:

[![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge.fury.io/js/cdk-monitoring-constructs) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.cdklabs/cdkmonitoringconstructs/badge.svg)](https://m

15 lines (14 loc) 736 B
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export interface LowTpsThreshold extends CustomAlarmThreshold { readonly minTps: number; } export interface HighTpsThreshold extends CustomAlarmThreshold { readonly maxTps: number; } export declare class TpsAlarmFactory { protected readonly alarmFactory: AlarmFactory; constructor(alarmFactory: AlarmFactory); addMinTpsAlarm(metric: MetricWithAlarmSupport, props: LowTpsThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addMaxTpsAlarm(metric: MetricWithAlarmSupport, props: HighTpsThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; }