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

24 lines (23 loc) 1.24 kB
import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import { IDatabaseCluster } from "aws-cdk-lib/aws-docdb"; import { LatencyType, MetricFactory } from "../../common"; export interface DocumentDbMetricFactoryProps { /** * database cluster */ readonly cluster: IDatabaseCluster; } export declare class DocumentDbMetricFactory { readonly clusterIdentifier: string; protected readonly metricFactory: MetricFactory; protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: DocumentDbMetricFactoryProps); metricAverageCpuUsageInPercent(): import("../../common").MetricWithAlarmSupport; metricMaxConnectionCount(): import("../../common").MetricWithAlarmSupport; metricMaxCursorCount(): import("../../common").MetricWithAlarmSupport; metricMaxTransactionOpenCount(): import("../../common").MetricWithAlarmSupport; metricOperationsThrottledDueLowMemoryCount(): import("../../common").MetricWithAlarmSupport; metricReadLatencyInMillis(latencyType: LatencyType): import("../../common").MetricWithAlarmSupport; metricWriteLatencyInMillis(latencyType: LatencyType): import("../../common").MetricWithAlarmSupport; private metric; }