1 | export declare class ECSMetrics {
|
2 | static cpuUtilizationAverage(dimensions: {
|
3 | ClusterName: string;
|
4 | ServiceName: string;
|
5 | }): MetricWithDims<{
|
6 | ClusterName: string;
|
7 | ServiceName: string;
|
8 | }>;
|
9 | static cpuUtilizationAverage(dimensions: {
|
10 | ClusterName: string;
|
11 | }): MetricWithDims<{
|
12 | ClusterName: string;
|
13 | }>;
|
14 | static memoryUtilizationAverage(dimensions: {
|
15 | ClusterName: string;
|
16 | ServiceName: string;
|
17 | }): MetricWithDims<{
|
18 | ClusterName: string;
|
19 | ServiceName: string;
|
20 | }>;
|
21 | static memoryUtilizationAverage(dimensions: {
|
22 | ClusterName: string;
|
23 | }): MetricWithDims<{
|
24 | ClusterName: string;
|
25 | }>;
|
26 | static cpuReservationAverage(dimensions: {
|
27 | ClusterName: string;
|
28 | }): {
|
29 | namespace: string;
|
30 | metricName: string;
|
31 | dimensionsMap: {
|
32 | ClusterName: string;
|
33 | };
|
34 | statistic: string;
|
35 | };
|
36 | static memoryReservationAverage(dimensions: {
|
37 | ClusterName: string;
|
38 | }): {
|
39 | namespace: string;
|
40 | metricName: string;
|
41 | dimensionsMap: {
|
42 | ClusterName: string;
|
43 | };
|
44 | statistic: string;
|
45 | };
|
46 | static gpuReservationAverage(dimensions: {
|
47 | ClusterName: string;
|
48 | }): {
|
49 | namespace: string;
|
50 | metricName: string;
|
51 | dimensionsMap: {
|
52 | ClusterName: string;
|
53 | };
|
54 | statistic: string;
|
55 | };
|
56 | }
|
57 | declare type MetricWithDims<D> = {
|
58 | namespace: string;
|
59 | metricName: string;
|
60 | statistic: string;
|
61 | dimensionsMap: D;
|
62 | };
|
63 | export {};
|