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

48 lines (47 loc) 2.78 kB
import { Domain, OpenSearchBackportedMetrics } from "./OpenSearchBackportedMetrics"; import { BaseMetricFactory, BaseMetricFactoryProps, MetricFactory, RateComputationMethod } from "../../common"; export interface OpenSearchClusterMetricFactoryProps extends BaseMetricFactoryProps { readonly domain: Domain; /** * @default - true */ readonly fillTpsWithZeroes?: boolean; /** * @default - average */ readonly rateComputationMethod?: RateComputationMethod; } export declare class OpenSearchClusterMetricFactory extends BaseMetricFactory { protected readonly domainMetrics: OpenSearchBackportedMetrics; protected readonly fillTpsWithZeroes: boolean; protected readonly rateComputationMethod: RateComputationMethod; constructor(metricFactory: MetricFactory, props: OpenSearchClusterMetricFactoryProps); metricSearchCount(): import("aws-cdk-lib/aws-cloudwatch").Metric; metricSearchRate(rateComputationMethod?: RateComputationMethod): import("../../common").MetricWithAlarmSupport; /** * @deprecated use metricSearchRate */ metricTps(): import("../../common").MetricWithAlarmSupport; metricIndexingLatencyP50InMillis(): import("../../common").MetricWithAlarmSupport; metricIndexingLatencyP90InMillis(): import("../../common").MetricWithAlarmSupport; metricIndexingLatencyP99InMillis(): import("../../common").MetricWithAlarmSupport; metricSearchLatencyP50InMillis(): import("../../common").MetricWithAlarmSupport; metricSearchLatencyP90InMillis(): import("../../common").MetricWithAlarmSupport; metricSearchLatencyP99InMillis(): import("../../common").MetricWithAlarmSupport; metricClusterStatusRed(): import("../../common").MetricWithAlarmSupport; metricClusterStatusYellow(): import("../../common").MetricWithAlarmSupport; metricDiskSpaceUsageInPercent(): import("../../common").MetricWithAlarmSupport; metricCpuUsage(): import("../../common").MetricWithAlarmSupport; metricMasterCpuUsage(): import("../../common").MetricWithAlarmSupport; metricJvmMemoryPressure(): import("../../common").MetricWithAlarmSupport; metricMasterJvmMemoryPressure(): import("../../common").MetricWithAlarmSupport; metricClusterIndexWritesBlocked(): import("../../common").MetricWithAlarmSupport; /** * @deprecated use metricClusterIndexWritesBlocked instead */ metricClusterIndexWriteBlocked(): import("../../common").MetricWithAlarmSupport; metricNodes(): import("../../common").MetricWithAlarmSupport; metricAutomatedSnapshotFailure(): import("../../common").MetricWithAlarmSupport; metricKmsKeyError(): import("../../common").MetricWithAlarmSupport; metricKmsKeyInaccessible(): import("../../common").MetricWithAlarmSupport; }