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

29 lines (28 loc) 1.5 kB
import type { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import { BaseMetricFactoryProps, BaseMetricFactory, MetricFactory, MetricWithAlarmSupport } from "../../common"; export interface OpenSearchIngestionPipelineMetricFactoryProps extends BaseMetricFactoryProps { readonly subPipelineName: string; readonly source: string; readonly sink: string; readonly pipelineName: string; } /** * @experimental This is subject to change if an L2 construct becomes available. * * @see https://docs.aws.amazon.com/opensearch-service/latest/developerguide/monitoring-pipeline-metrics.html */ export declare class OpenSearchIngestionPipelineMetricFactory extends BaseMetricFactory<OpenSearchIngestionPipelineMetricFactoryProps> { protected readonly subPipelineName: string; protected readonly source: string; protected readonly sink: string; protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: OpenSearchIngestionPipelineMetricFactoryProps); metricSourceBytesReceivedSum(): MetricWithAlarmSupport; metricSinkBulkRequestLatencyMax(): MetricWithAlarmSupport; metricSinkBulkPipelineLatencyMax(): MetricWithAlarmSupport; metricRecordsProcessedCount(): MetricWithAlarmSupport; metricSinkRecordsInCount(): MetricWithAlarmSupport; metricDlqS3RecordsCount(): MetricWithAlarmSupport; metricDlqS3RecordsSuccessCount(): MetricWithAlarmSupport; metricDlqS3RecordsFailedCount(): MetricWithAlarmSupport; }