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

26 lines (25 loc) 1.59 kB
import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import { IStateMachine } from "aws-cdk-lib/aws-stepfunctions"; import { BaseMetricFactory, BaseMetricFactoryProps, MetricFactory, RateComputationMethod } from "../../common"; export interface StepFunctionMetricFactoryProps extends BaseMetricFactoryProps { readonly stateMachine: IStateMachine; /** * @default - average */ readonly rateComputationMethod?: RateComputationMethod; } export declare class StepFunctionMetricFactory extends BaseMetricFactory<StepFunctionMetricFactoryProps> { protected readonly rateComputationMethod: RateComputationMethod; protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: StepFunctionMetricFactoryProps); metricExecutionTimeP99InMillis(): import("../../common").MetricWithAlarmSupport; metricExecutionTimeP90InMillis(): import("../../common").MetricWithAlarmSupport; metricExecutionTimeP50InMillis(): import("../../common").MetricWithAlarmSupport; metricExecutionsFailed(): import("../../common").MetricWithAlarmSupport; metricExecutionsFailedRate(): import("../../common").MetricWithAlarmSupport; metricExecutionsTimedOut(): import("../../common").MetricWithAlarmSupport; metricExecutionThrottled(): import("../../common").MetricWithAlarmSupport; metricExecutionsAborted(): import("../../common").MetricWithAlarmSupport; metricExecutionsStarted(): import("../../common").MetricWithAlarmSupport; metricExecutionsSucceeded(): import("../../common").MetricWithAlarmSupport; }