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

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; }