UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

99 lines (98 loc) 3.22 kB
export interface MetricWithDims<D> { readonly namespace: string; readonly metricName: string; readonly statistic: string; readonly dimensionsMap: D; } export declare class EKSMetrics { static schedulerPendingPodsSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static schedulerPendingPodsActiveqSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static schedulerPendingPodsUnschedulableSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestTotalSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestTotal5XxSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestTotal4XxSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestTotal429Sum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestDurationSecondsGetP99Average(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestDurationSecondsPostP99Average(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestDurationSecondsPutP99Average(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestDurationSecondsDeleteP99Average(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestDurationSecondsPatchP99Average(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverRequestDurationSecondsListP99Average(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverCurrentInflightRequestsMutatingAverage(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverCurrentInflightRequestsReadonlyAverage(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverAdmissionWebhookRequestTotalSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverAdmissionWebhookRequestTotalValidatingSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; static apiserverAdmissionWebhookRequestTotalAdmitSum(this: void, dimensions: { ClusterName: string; }): MetricWithDims<{ ClusterName: string; }>; }