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

32 lines (31 loc) 1.52 kB
import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import { MetricFactory } from "../../common"; export declare enum ElastiCacheClusterType { MEMCACHED = 0, REDIS = 1 } export interface ElastiCacheClusterMetricFactoryProps { /** * Cluster to monitor * @default - monitor all clusters */ readonly clusterId?: string; } /** * @see https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/CacheMetrics.html */ export declare class ElastiCacheClusterMetricFactory { protected readonly metricFactory: MetricFactory; protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: ElastiCacheClusterMetricFactoryProps); metricMaxItemCount(): import("../../common").MetricWithAlarmSupport; metricEvictions(): import("../../common").MetricWithAlarmSupport; metricAverageFreeableMemoryInBytes(): import("../../common").MetricWithAlarmSupport; metricAverageUnusedMemoryInBytes(): import("../../common").MetricWithAlarmSupport; metricAverageCachedItemsSizeInBytes(): import("../../common").MetricWithAlarmSupport; metricAverageSwapUsageInBytes(): import("../../common").MetricWithAlarmSupport; metricMaxCpuUtilizationInPercent(): import("../../common").MetricWithAlarmSupport; metricAverageConnections(): import("../../common").MetricWithAlarmSupport; metricNetworkBytesIn(): import("../../common").MetricWithAlarmSupport; metricNetworkBytesOut(): import("../../common").MetricWithAlarmSupport; }