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

49 lines (48 loc) 2.69 kB
import { MetricFactory, RateComputationMethod } from "../../common"; import { Domain, OpenSearchBackportedMetrics } from "./OpenSearchBackportedMetrics"; export interface OpenSearchClusterMetricFactoryProps { readonly domain: Domain; /** * @default - true */ readonly fillTpsWithZeroes?: boolean; /** * @default - average */ readonly rateComputationMethod?: RateComputationMethod; } export declare class OpenSearchClusterMetricFactory { protected readonly metricFactory: MetricFactory; 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(): 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; }