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

32 lines (31 loc) 1.92 kB
import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import { BaseMetricFactory, BaseMetricFactoryProps, LatencyType, MetricFactory } from "../../common"; export interface ElastiCacheServerlessMetricFactoryProps extends BaseMetricFactoryProps { /** * Cluster to monitor * @default - monitor all clusters */ readonly clusterId?: string; } /** * @see https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/serverless-metrics-events-redis.html */ export declare class ElastiCacheServerlessMetricFactory extends BaseMetricFactory { protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: ElastiCacheServerlessMetricFactoryProps); metricMaxItemCount(): import("../../common").MetricWithAlarmSupport; metricEvictions(): import("../../common").MetricWithAlarmSupport; metricAverageCacheSize(): import("../../common").MetricWithAlarmSupport; metricMaxElastiCacheProcessingUnits(): import("../../common").MetricWithAlarmSupport; metricAverageConnections(): import("../../common").MetricWithAlarmSupport; metricNetworkBytesIn(): import("../../common").MetricWithAlarmSupport; metricNetworkBytesOut(): import("../../common").MetricWithAlarmSupport; metricSuccessfulReadRequestLatency(latencyType: LatencyType): import("../../common").MetricWithAlarmSupport; metricSuccessfulWriteRequestLatency(latencyType: LatencyType): import("../../common").MetricWithAlarmSupport; metricTotalThrottledCmds(): import("../../common").MetricWithAlarmSupport; metricTotalCmds(): import("../../common").MetricWithAlarmSupport; metricThrottleRate(): import("../../common").MetricWithAlarmSupport; metricAverageCacheHitRate(): import("../../common").MetricWithAlarmSupport; metricCacheHits(): import("../../common").MetricWithAlarmSupport; metricCacheMisses(): import("../../common").MetricWithAlarmSupport; }