99 lines
3.1 KiB
TypeScript
99 lines
3.1 KiB
TypeScript
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;
|
|
}>;
|
|
}
|