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

28 lines (27 loc) 1.73 kB
import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import { BaseMetricFactory, BaseMetricFactoryProps, MetricFactory, RateComputationMethod } from "../../common"; export interface GlueJobMetricFactoryProps extends BaseMetricFactoryProps { readonly jobName: string; /** * @default - average */ readonly rateComputationMethod?: RateComputationMethod; } export declare class GlueJobMetricFactory extends BaseMetricFactory<GlueJobMetricFactoryProps> { protected readonly rateComputationMethod: RateComputationMethod; protected readonly dimensionsMap: DimensionsMap; protected readonly typeCountDimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: GlueJobMetricFactoryProps); metricTotalReadBytesFromS3(): import("../../common").MetricWithAlarmSupport; metricTotalWrittenBytesToS3(): import("../../common").MetricWithAlarmSupport; metricAverageExecutorCpuUsagePercentage(): import("../../common").MetricWithAlarmSupport; metricAverageExecutorMemoryUsagePercentage(): import("../../common").MetricWithAlarmSupport; metricActiveExecutorsAverage(): import("../../common").MetricWithAlarmSupport; metricCompletedStagesSum(): import("../../common").MetricWithAlarmSupport; metricCompletedTasksSum(): import("../../common").MetricWithAlarmSupport; metricFailedTasksSum(): import("../../common").MetricWithAlarmSupport; metricFailedTasksRate(): import("../../common").MetricWithAlarmSupport; metricKilledTasksSum(): import("../../common").MetricWithAlarmSupport; metricKilledTasksRate(): import("../../common").MetricWithAlarmSupport; metricMaximumNeededExecutors(): import("../../common").MetricWithAlarmSupport; }