@@ -12,6 +12,91 @@ export interface AnomalyMetric {
12
12
metricPeriod ?: number | undefined
13
13
}
14
14
15
+ export interface ApigatewayMonitoring {
16
+ route ?: ApigatewayMonitoringMetric | undefined
17
+ api ?: ApigatewayMonitoringMetric | undefined
18
+ }
19
+
20
+ export interface ApigatewayMonitoringMetric {
21
+ latency ?: DefaultMetric | undefined
22
+ integrationLatency ?: DefaultMetric | undefined
23
+ '5xx' ?: DefaultMetric | undefined
24
+ '4xx' ?: DefaultMetric | undefined
25
+ dataProcessed ?: DefaultMetric | undefined
26
+ count ?: DefaultMetric | undefined
27
+ }
28
+
29
+ export interface DefaultMetric {
30
+ static ?:
31
+ | {
32
+ average ?: StaticMetric | undefined
33
+ sum ?: StaticMetric | undefined
34
+ minimum ?: StaticMetric | undefined
35
+ maximum ?: StaticMetric | undefined
36
+ sampleCount ?: StaticMetric | undefined
37
+ iqm ?: StaticMetric | undefined
38
+ p80 ?: StaticMetric | undefined
39
+ tm80 ?: StaticMetric | undefined
40
+ tc80 ?: StaticMetric | undefined
41
+ wm80 ?: StaticMetric | undefined
42
+ p90 ?: StaticMetric | undefined
43
+ tm90 ?: StaticMetric | undefined
44
+ tc90 ?: StaticMetric | undefined
45
+ wm90 ?: StaticMetric | undefined
46
+ p95 ?: StaticMetric | undefined
47
+ tm95 ?: StaticMetric | undefined
48
+ tc95 ?: StaticMetric | undefined
49
+ wm95 ?: StaticMetric | undefined
50
+ p99 ?: StaticMetric | undefined
51
+ tm99 ?: StaticMetric | undefined
52
+ tc99 ?: StaticMetric | undefined
53
+ wm99 ?: StaticMetric | undefined
54
+ }
55
+ | undefined
56
+ anomaly ?:
57
+ | {
58
+ average ?: AnomalyMetric | undefined
59
+ sum ?: AnomalyMetric | undefined
60
+ minimum ?: AnomalyMetric | undefined
61
+ maximum ?: AnomalyMetric | undefined
62
+ sampleCount ?: AnomalyMetric | undefined
63
+ iqm ?: AnomalyMetric | undefined
64
+ p80 ?: AnomalyMetric | undefined
65
+ tm80 ?: AnomalyMetric | undefined
66
+ tc80 ?: AnomalyMetric | undefined
67
+ wm80 ?: AnomalyMetric | undefined
68
+ p90 ?: AnomalyMetric | undefined
69
+ tm90 ?: AnomalyMetric | undefined
70
+ tc90 ?: AnomalyMetric | undefined
71
+ wm90 ?: AnomalyMetric | undefined
72
+ p95 ?: AnomalyMetric | undefined
73
+ tm95 ?: AnomalyMetric | undefined
74
+ tc95 ?: AnomalyMetric | undefined
75
+ wm95 ?: AnomalyMetric | undefined
76
+ p99 ?: AnomalyMetric | undefined
77
+ tm99 ?: AnomalyMetric | undefined
78
+ tc99 ?: AnomalyMetric | undefined
79
+ wm99 ?: AnomalyMetric | undefined
80
+ }
81
+ | undefined
82
+ }
83
+
84
+ export interface SqsMonitoring {
85
+ queue ?: SqsMonitoringMetric | undefined
86
+ dlq ?: SqsMonitoringMetric | undefined
87
+ }
88
+
89
+ export interface SqsMonitoringMetric {
90
+ numberOfMessagesSent ?: DefaultMetric | undefined
91
+ approximateNumberOfMessagesVisible ?: DefaultMetric | undefined
92
+ approximateNumberOfMessagesDelayed ?: DefaultMetric | undefined
93
+ approximateAgeOfOldestMessage ?: DefaultMetric | undefined
94
+ approximateNumberOfMessagesNotVisible ?: DefaultMetric | undefined
95
+ numberOfMessagesDeleted ?: DefaultMetric | undefined
96
+ numberOfMessagesReceived ?: DefaultMetric | undefined
97
+ numberOfEmptyReceives ?: DefaultMetric | undefined
98
+ }
99
+
15
100
export interface StaticMetric {
16
101
enabled ?: boolean | undefined
17
102
threshold ?: number | undefined
0 commit comments