cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
23 lines (22 loc) • 1.31 kB
TypeScript
import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch";
import { IDatabaseCluster } from "aws-cdk-lib/aws-docdb";
import { BaseMetricFactory, BaseMetricFactoryProps, LatencyType, MetricFactory } from "../../common";
export interface DocumentDbMetricFactoryProps extends BaseMetricFactoryProps {
/**
* database cluster
*/
readonly cluster: IDatabaseCluster;
}
export declare class DocumentDbMetricFactory extends BaseMetricFactory<DocumentDbMetricFactoryProps> {
readonly clusterIdentifier: string;
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;
}