@cdklabs/multi-az-observability 0.0.1-alpha.50 → 0.0.1-alpha.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +151 -40
- package/API.md +102 -0
- package/lib/alarmsandrules/AvailabilityAndLatencyAlarmsAndRules.d.ts +1 -1
- package/lib/alarmsandrules/AvailabilityAndLatencyAlarmsAndRules.js +1 -1
- package/lib/alarmsandrules/props/OperationAlarmsAndRulesProps.d.ts +8 -25
- package/lib/alarmsandrules/props/OperationAlarmsAndRulesProps.js +1 -1
- package/lib/azmapper/AvailabilityZoneMapper.js +1 -1
- package/lib/basic_observability/BasicServiceMultiAZObservability.js +1 -1
- package/lib/canaries/src/canary.zip +0 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -2
- package/lib/monitoring/src/monitoring-layer.zip +0 -0
- package/lib/outlier-detection/src/outlier-detection.zip +0 -0
- package/lib/outlier-detection/src/scipy-layer.zip +0 -0
- package/lib/services/CanaryMetrics.js +1 -1
- package/lib/services/CanaryTestAvailabilityMetricsOverride.js +1 -1
- package/lib/services/CanaryTestLatencyMetricsOverride.js +1 -1
- package/lib/services/CanaryTestMetricsOverride.js +1 -1
- package/lib/services/ContributorInsightRuleDetails.js +1 -1
- package/lib/services/IService.d.ts +7 -0
- package/lib/services/IService.js +1 -1
- package/lib/services/InstrumentedServiceMultiAZObservability.js +4 -3
- package/lib/services/Operation.js +1 -1
- package/lib/services/OperationAvailabilityMetricDetails.js +1 -1
- package/lib/services/OperationLatencyMetricDetails.js +1 -1
- package/lib/services/OperationMetricDetails.js +1 -1
- package/lib/services/Service.d.ts +7 -0
- package/lib/services/Service.js +3 -2
- package/lib/services/ServiceAvailabilityMetricDetails.js +1 -1
- package/lib/services/ServiceLatencyMetricDetails.js +1 -1
- package/lib/services/ServiceMetricDetails.js +1 -1
- package/lib/services/props/MetricDimensions.js +1 -1
- package/lib/services/props/ServiceProps.d.ts +7 -0
- package/lib/services/props/ServiceProps.js +1 -1
- package/lib/utilities/MinimumUnhealthyTargets.d.ts +25 -0
- package/lib/utilities/MinimumUnhealthyTargets.js +3 -0
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -8006,7 +8006,7 @@
|
|
|
8006
8006
|
"kind": "interface",
|
|
8007
8007
|
"locationInModule": {
|
|
8008
8008
|
"filename": "src/services/IService.ts",
|
|
8009
|
-
"line":
|
|
8009
|
+
"line": 15
|
|
8010
8010
|
},
|
|
8011
8011
|
"methods": [
|
|
8012
8012
|
{
|
|
@@ -8017,7 +8017,7 @@
|
|
|
8017
8017
|
},
|
|
8018
8018
|
"locationInModule": {
|
|
8019
8019
|
"filename": "src/services/IService.ts",
|
|
8020
|
-
"line":
|
|
8020
|
+
"line": 98
|
|
8021
8021
|
},
|
|
8022
8022
|
"name": "addOperation",
|
|
8023
8023
|
"parameters": [
|
|
@@ -8041,7 +8041,7 @@
|
|
|
8041
8041
|
"immutable": true,
|
|
8042
8042
|
"locationInModule": {
|
|
8043
8043
|
"filename": "src/services/IService.ts",
|
|
8044
|
-
"line":
|
|
8044
|
+
"line": 35
|
|
8045
8045
|
},
|
|
8046
8046
|
"name": "availabilityZoneNames",
|
|
8047
8047
|
"type": {
|
|
@@ -8062,7 +8062,7 @@
|
|
|
8062
8062
|
"immutable": true,
|
|
8063
8063
|
"locationInModule": {
|
|
8064
8064
|
"filename": "src/services/IService.ts",
|
|
8065
|
-
"line":
|
|
8065
|
+
"line": 24
|
|
8066
8066
|
},
|
|
8067
8067
|
"name": "baseUrl",
|
|
8068
8068
|
"type": {
|
|
@@ -8078,7 +8078,7 @@
|
|
|
8078
8078
|
"immutable": true,
|
|
8079
8079
|
"locationInModule": {
|
|
8080
8080
|
"filename": "src/services/IService.ts",
|
|
8081
|
-
"line":
|
|
8081
|
+
"line": 71
|
|
8082
8082
|
},
|
|
8083
8083
|
"name": "defaultAvailabilityMetricDetails",
|
|
8084
8084
|
"type": {
|
|
@@ -8094,7 +8094,7 @@
|
|
|
8094
8094
|
"immutable": true,
|
|
8095
8095
|
"locationInModule": {
|
|
8096
8096
|
"filename": "src/services/IService.ts",
|
|
8097
|
-
"line":
|
|
8097
|
+
"line": 78
|
|
8098
8098
|
},
|
|
8099
8099
|
"name": "defaultLatencyMetricDetails",
|
|
8100
8100
|
"type": {
|
|
@@ -8111,7 +8111,7 @@
|
|
|
8111
8111
|
"immutable": true,
|
|
8112
8112
|
"locationInModule": {
|
|
8113
8113
|
"filename": "src/services/IService.ts",
|
|
8114
|
-
"line":
|
|
8114
|
+
"line": 30
|
|
8115
8115
|
},
|
|
8116
8116
|
"name": "faultCountThreshold",
|
|
8117
8117
|
"type": {
|
|
@@ -8127,7 +8127,7 @@
|
|
|
8127
8127
|
"immutable": true,
|
|
8128
8128
|
"locationInModule": {
|
|
8129
8129
|
"filename": "src/services/IService.ts",
|
|
8130
|
-
"line":
|
|
8130
|
+
"line": 45
|
|
8131
8131
|
},
|
|
8132
8132
|
"name": "operations",
|
|
8133
8133
|
"type": {
|
|
@@ -8148,7 +8148,7 @@
|
|
|
8148
8148
|
"immutable": true,
|
|
8149
8149
|
"locationInModule": {
|
|
8150
8150
|
"filename": "src/services/IService.ts",
|
|
8151
|
-
"line":
|
|
8151
|
+
"line": 40
|
|
8152
8152
|
},
|
|
8153
8153
|
"name": "period",
|
|
8154
8154
|
"type": {
|
|
@@ -8164,7 +8164,7 @@
|
|
|
8164
8164
|
"immutable": true,
|
|
8165
8165
|
"locationInModule": {
|
|
8166
8166
|
"filename": "src/services/IService.ts",
|
|
8167
|
-
"line":
|
|
8167
|
+
"line": 19
|
|
8168
8168
|
},
|
|
8169
8169
|
"name": "serviceName",
|
|
8170
8170
|
"type": {
|
|
@@ -8182,7 +8182,7 @@
|
|
|
8182
8182
|
"immutable": true,
|
|
8183
8183
|
"locationInModule": {
|
|
8184
8184
|
"filename": "src/services/IService.ts",
|
|
8185
|
-
"line":
|
|
8185
|
+
"line": 64
|
|
8186
8186
|
},
|
|
8187
8187
|
"name": "canaryTestProps",
|
|
8188
8188
|
"optional": true,
|
|
@@ -8200,7 +8200,7 @@
|
|
|
8200
8200
|
"immutable": true,
|
|
8201
8201
|
"locationInModule": {
|
|
8202
8202
|
"filename": "src/services/IService.ts",
|
|
8203
|
-
"line":
|
|
8203
|
+
"line": 86
|
|
8204
8204
|
},
|
|
8205
8205
|
"name": "defaultContributorInsightRuleDetails",
|
|
8206
8206
|
"optional": true,
|
|
@@ -8218,13 +8218,31 @@
|
|
|
8218
8218
|
"immutable": true,
|
|
8219
8219
|
"locationInModule": {
|
|
8220
8220
|
"filename": "src/services/IService.ts",
|
|
8221
|
-
"line":
|
|
8221
|
+
"line": 54
|
|
8222
8222
|
},
|
|
8223
8223
|
"name": "loadBalancer",
|
|
8224
8224
|
"optional": true,
|
|
8225
8225
|
"type": {
|
|
8226
8226
|
"fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ILoadBalancerV2"
|
|
8227
8227
|
}
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
"abstract": true,
|
|
8231
|
+
"docs": {
|
|
8232
|
+
"default": "Count of 2",
|
|
8233
|
+
"stability": "experimental",
|
|
8234
|
+
"summary": "The minimum number of unhealthy targets to consider an AZ impaired."
|
|
8235
|
+
},
|
|
8236
|
+
"immutable": true,
|
|
8237
|
+
"locationInModule": {
|
|
8238
|
+
"filename": "src/services/IService.ts",
|
|
8239
|
+
"line": 93
|
|
8240
|
+
},
|
|
8241
|
+
"name": "minimumUnhealthyTargets",
|
|
8242
|
+
"optional": true,
|
|
8243
|
+
"type": {
|
|
8244
|
+
"fqn": "@cdklabs/multi-az-observability.MinimumUnhealthyTargets"
|
|
8245
|
+
}
|
|
8228
8246
|
}
|
|
8229
8247
|
],
|
|
8230
8248
|
"symbolId": "src/services/IService:IService"
|
|
@@ -9229,6 +9247,63 @@
|
|
|
9229
9247
|
],
|
|
9230
9248
|
"symbolId": "src/services/props/MetricDimensions:MetricDimensions"
|
|
9231
9249
|
},
|
|
9250
|
+
"@cdklabs/multi-az-observability.MinimumUnhealthyTargets": {
|
|
9251
|
+
"assembly": "@cdklabs/multi-az-observability",
|
|
9252
|
+
"datatype": true,
|
|
9253
|
+
"docs": {
|
|
9254
|
+
"remarks": "You must specify either count or percentage,\nif you specify both, only count will be used.",
|
|
9255
|
+
"stability": "experimental",
|
|
9256
|
+
"summary": "The minimum unhealthy targets for an AZ to be considered impaired instead of individual targets in the zone."
|
|
9257
|
+
},
|
|
9258
|
+
"fqn": "@cdklabs/multi-az-observability.MinimumUnhealthyTargets",
|
|
9259
|
+
"kind": "interface",
|
|
9260
|
+
"locationInModule": {
|
|
9261
|
+
"filename": "src/utilities/MinimumUnhealthyTargets.ts",
|
|
9262
|
+
"line": 6
|
|
9263
|
+
},
|
|
9264
|
+
"name": "MinimumUnhealthyTargets",
|
|
9265
|
+
"properties": [
|
|
9266
|
+
{
|
|
9267
|
+
"abstract": true,
|
|
9268
|
+
"docs": {
|
|
9269
|
+
"default": "This value is not used",
|
|
9270
|
+
"remarks": "If the number of\nunhealthy targets is equal to this, or greater, the impact ot a single AZ\nis not considered ot be from a \"single\" target. You must specify either count or percentage,\nif you specify both, only count will be used.",
|
|
9271
|
+
"stability": "experimental",
|
|
9272
|
+
"summary": "The minimum number of targets that must be unhealthy."
|
|
9273
|
+
},
|
|
9274
|
+
"immutable": true,
|
|
9275
|
+
"locationInModule": {
|
|
9276
|
+
"filename": "src/utilities/MinimumUnhealthyTargets.ts",
|
|
9277
|
+
"line": 15
|
|
9278
|
+
},
|
|
9279
|
+
"name": "count",
|
|
9280
|
+
"optional": true,
|
|
9281
|
+
"type": {
|
|
9282
|
+
"primitive": "number"
|
|
9283
|
+
}
|
|
9284
|
+
},
|
|
9285
|
+
{
|
|
9286
|
+
"abstract": true,
|
|
9287
|
+
"docs": {
|
|
9288
|
+
"default": "This value is not used",
|
|
9289
|
+
"remarks": "If the percentage\nof unhealthy targets is equal to this, or greater, the impact to a single AZ\nis not considered to be from a \"single\" target. You must specify either count or percentage,\nif you specify both, only count will be used.",
|
|
9290
|
+
"stability": "experimental",
|
|
9291
|
+
"summary": "The minimum percentage of targets that must be unhealthy."
|
|
9292
|
+
},
|
|
9293
|
+
"immutable": true,
|
|
9294
|
+
"locationInModule": {
|
|
9295
|
+
"filename": "src/utilities/MinimumUnhealthyTargets.ts",
|
|
9296
|
+
"line": 25
|
|
9297
|
+
},
|
|
9298
|
+
"name": "percentage",
|
|
9299
|
+
"optional": true,
|
|
9300
|
+
"type": {
|
|
9301
|
+
"primitive": "number"
|
|
9302
|
+
}
|
|
9303
|
+
}
|
|
9304
|
+
],
|
|
9305
|
+
"symbolId": "src/utilities/MinimumUnhealthyTargets:MinimumUnhealthyTargets"
|
|
9306
|
+
},
|
|
9232
9307
|
"@cdklabs/multi-az-observability.NatGatewayDetectionProps": {
|
|
9233
9308
|
"assembly": "@cdklabs/multi-az-observability",
|
|
9234
9309
|
"datatype": true,
|
|
@@ -10718,7 +10793,7 @@
|
|
|
10718
10793
|
},
|
|
10719
10794
|
"locationInModule": {
|
|
10720
10795
|
"filename": "src/services/Service.ts",
|
|
10721
|
-
"line":
|
|
10796
|
+
"line": 97
|
|
10722
10797
|
},
|
|
10723
10798
|
"parameters": [
|
|
10724
10799
|
{
|
|
@@ -10735,7 +10810,7 @@
|
|
|
10735
10810
|
"kind": "class",
|
|
10736
10811
|
"locationInModule": {
|
|
10737
10812
|
"filename": "src/services/Service.ts",
|
|
10738
|
-
"line":
|
|
10813
|
+
"line": 17
|
|
10739
10814
|
},
|
|
10740
10815
|
"methods": [
|
|
10741
10816
|
{
|
|
@@ -10745,7 +10820,7 @@
|
|
|
10745
10820
|
},
|
|
10746
10821
|
"locationInModule": {
|
|
10747
10822
|
"filename": "src/services/Service.ts",
|
|
10748
|
-
"line":
|
|
10823
|
+
"line": 118
|
|
10749
10824
|
},
|
|
10750
10825
|
"name": "addOperation",
|
|
10751
10826
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10769,7 +10844,7 @@
|
|
|
10769
10844
|
"immutable": true,
|
|
10770
10845
|
"locationInModule": {
|
|
10771
10846
|
"filename": "src/services/Service.ts",
|
|
10772
|
-
"line":
|
|
10847
|
+
"line": 37
|
|
10773
10848
|
},
|
|
10774
10849
|
"name": "availabilityZoneNames",
|
|
10775
10850
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10790,7 +10865,7 @@
|
|
|
10790
10865
|
"immutable": true,
|
|
10791
10866
|
"locationInModule": {
|
|
10792
10867
|
"filename": "src/services/Service.ts",
|
|
10793
|
-
"line":
|
|
10868
|
+
"line": 26
|
|
10794
10869
|
},
|
|
10795
10870
|
"name": "baseUrl",
|
|
10796
10871
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10806,7 +10881,7 @@
|
|
|
10806
10881
|
"immutable": true,
|
|
10807
10882
|
"locationInModule": {
|
|
10808
10883
|
"filename": "src/services/Service.ts",
|
|
10809
|
-
"line":
|
|
10884
|
+
"line": 73
|
|
10810
10885
|
},
|
|
10811
10886
|
"name": "defaultAvailabilityMetricDetails",
|
|
10812
10887
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10822,7 +10897,7 @@
|
|
|
10822
10897
|
"immutable": true,
|
|
10823
10898
|
"locationInModule": {
|
|
10824
10899
|
"filename": "src/services/Service.ts",
|
|
10825
|
-
"line":
|
|
10900
|
+
"line": 80
|
|
10826
10901
|
},
|
|
10827
10902
|
"name": "defaultLatencyMetricDetails",
|
|
10828
10903
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10839,7 +10914,7 @@
|
|
|
10839
10914
|
"immutable": true,
|
|
10840
10915
|
"locationInModule": {
|
|
10841
10916
|
"filename": "src/services/Service.ts",
|
|
10842
|
-
"line":
|
|
10917
|
+
"line": 32
|
|
10843
10918
|
},
|
|
10844
10919
|
"name": "faultCountThreshold",
|
|
10845
10920
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10855,7 +10930,7 @@
|
|
|
10855
10930
|
"immutable": true,
|
|
10856
10931
|
"locationInModule": {
|
|
10857
10932
|
"filename": "src/services/Service.ts",
|
|
10858
|
-
"line":
|
|
10933
|
+
"line": 47
|
|
10859
10934
|
},
|
|
10860
10935
|
"name": "operations",
|
|
10861
10936
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10876,7 +10951,7 @@
|
|
|
10876
10951
|
"immutable": true,
|
|
10877
10952
|
"locationInModule": {
|
|
10878
10953
|
"filename": "src/services/Service.ts",
|
|
10879
|
-
"line":
|
|
10954
|
+
"line": 42
|
|
10880
10955
|
},
|
|
10881
10956
|
"name": "period",
|
|
10882
10957
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10892,7 +10967,7 @@
|
|
|
10892
10967
|
"immutable": true,
|
|
10893
10968
|
"locationInModule": {
|
|
10894
10969
|
"filename": "src/services/Service.ts",
|
|
10895
|
-
"line":
|
|
10970
|
+
"line": 21
|
|
10896
10971
|
},
|
|
10897
10972
|
"name": "serviceName",
|
|
10898
10973
|
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
@@ -10910,7 +10985,7 @@
|
|
|
10910
10985
|
"immutable": true,
|
|
10911
10986
|
"locationInModule": {
|
|
10912
10987
|
"filename": "src/services/Service.ts",
|
|
10913
|
-
"line":
|
|
10988
|
+
"line": 66
|
|
10914
10989
|
},
|
|
10915
10990
|
"name": "canaryTestProps",
|
|
10916
10991
|
"optional": true,
|
|
@@ -10928,7 +11003,7 @@
|
|
|
10928
11003
|
"immutable": true,
|
|
10929
11004
|
"locationInModule": {
|
|
10930
11005
|
"filename": "src/services/Service.ts",
|
|
10931
|
-
"line":
|
|
11006
|
+
"line": 88
|
|
10932
11007
|
},
|
|
10933
11008
|
"name": "defaultContributorInsightRuleDetails",
|
|
10934
11009
|
"optional": true,
|
|
@@ -10946,7 +11021,7 @@
|
|
|
10946
11021
|
"immutable": true,
|
|
10947
11022
|
"locationInModule": {
|
|
10948
11023
|
"filename": "src/services/Service.ts",
|
|
10949
|
-
"line":
|
|
11024
|
+
"line": 56
|
|
10950
11025
|
},
|
|
10951
11026
|
"name": "loadBalancer",
|
|
10952
11027
|
"optional": true,
|
|
@@ -10954,6 +11029,24 @@
|
|
|
10954
11029
|
"type": {
|
|
10955
11030
|
"fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ILoadBalancerV2"
|
|
10956
11031
|
}
|
|
11032
|
+
},
|
|
11033
|
+
{
|
|
11034
|
+
"docs": {
|
|
11035
|
+
"default": "Count of 2",
|
|
11036
|
+
"stability": "experimental",
|
|
11037
|
+
"summary": "The minimum number of unhealthy targets to consider an AZ impaired."
|
|
11038
|
+
},
|
|
11039
|
+
"immutable": true,
|
|
11040
|
+
"locationInModule": {
|
|
11041
|
+
"filename": "src/services/Service.ts",
|
|
11042
|
+
"line": 95
|
|
11043
|
+
},
|
|
11044
|
+
"name": "minimumUnhealthyTargets",
|
|
11045
|
+
"optional": true,
|
|
11046
|
+
"overrides": "@cdklabs/multi-az-observability.IService",
|
|
11047
|
+
"type": {
|
|
11048
|
+
"fqn": "@cdklabs/multi-az-observability.MinimumUnhealthyTargets"
|
|
11049
|
+
}
|
|
10957
11050
|
}
|
|
10958
11051
|
],
|
|
10959
11052
|
"symbolId": "src/services/Service:Service"
|
|
@@ -11611,7 +11704,7 @@
|
|
|
11611
11704
|
"kind": "interface",
|
|
11612
11705
|
"locationInModule": {
|
|
11613
11706
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11614
|
-
"line":
|
|
11707
|
+
"line": 14
|
|
11615
11708
|
},
|
|
11616
11709
|
"name": "ServiceProps",
|
|
11617
11710
|
"properties": [
|
|
@@ -11624,7 +11717,7 @@
|
|
|
11624
11717
|
"immutable": true,
|
|
11625
11718
|
"locationInModule": {
|
|
11626
11719
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11627
|
-
"line":
|
|
11720
|
+
"line": 35
|
|
11628
11721
|
},
|
|
11629
11722
|
"name": "availabilityZoneNames",
|
|
11630
11723
|
"type": {
|
|
@@ -11645,7 +11738,7 @@
|
|
|
11645
11738
|
"immutable": true,
|
|
11646
11739
|
"locationInModule": {
|
|
11647
11740
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11648
|
-
"line":
|
|
11741
|
+
"line": 24
|
|
11649
11742
|
},
|
|
11650
11743
|
"name": "baseUrl",
|
|
11651
11744
|
"type": {
|
|
@@ -11661,7 +11754,7 @@
|
|
|
11661
11754
|
"immutable": true,
|
|
11662
11755
|
"locationInModule": {
|
|
11663
11756
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11664
|
-
"line":
|
|
11757
|
+
"line": 66
|
|
11665
11758
|
},
|
|
11666
11759
|
"name": "defaultAvailabilityMetricDetails",
|
|
11667
11760
|
"type": {
|
|
@@ -11677,7 +11770,7 @@
|
|
|
11677
11770
|
"immutable": true,
|
|
11678
11771
|
"locationInModule": {
|
|
11679
11772
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11680
|
-
"line":
|
|
11773
|
+
"line": 73
|
|
11681
11774
|
},
|
|
11682
11775
|
"name": "defaultLatencyMetricDetails",
|
|
11683
11776
|
"type": {
|
|
@@ -11694,7 +11787,7 @@
|
|
|
11694
11787
|
"immutable": true,
|
|
11695
11788
|
"locationInModule": {
|
|
11696
11789
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11697
|
-
"line":
|
|
11790
|
+
"line": 30
|
|
11698
11791
|
},
|
|
11699
11792
|
"name": "faultCountThreshold",
|
|
11700
11793
|
"type": {
|
|
@@ -11710,7 +11803,7 @@
|
|
|
11710
11803
|
"immutable": true,
|
|
11711
11804
|
"locationInModule": {
|
|
11712
11805
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11713
|
-
"line":
|
|
11806
|
+
"line": 40
|
|
11714
11807
|
},
|
|
11715
11808
|
"name": "period",
|
|
11716
11809
|
"type": {
|
|
@@ -11726,7 +11819,7 @@
|
|
|
11726
11819
|
"immutable": true,
|
|
11727
11820
|
"locationInModule": {
|
|
11728
11821
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11729
|
-
"line":
|
|
11822
|
+
"line": 18
|
|
11730
11823
|
},
|
|
11731
11824
|
"name": "serviceName",
|
|
11732
11825
|
"type": {
|
|
@@ -11744,7 +11837,7 @@
|
|
|
11744
11837
|
"immutable": true,
|
|
11745
11838
|
"locationInModule": {
|
|
11746
11839
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11747
|
-
"line":
|
|
11840
|
+
"line": 59
|
|
11748
11841
|
},
|
|
11749
11842
|
"name": "canaryTestProps",
|
|
11750
11843
|
"optional": true,
|
|
@@ -11762,7 +11855,7 @@
|
|
|
11762
11855
|
"immutable": true,
|
|
11763
11856
|
"locationInModule": {
|
|
11764
11857
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11765
|
-
"line":
|
|
11858
|
+
"line": 82
|
|
11766
11859
|
},
|
|
11767
11860
|
"name": "defaultContributorInsightRuleDetails",
|
|
11768
11861
|
"optional": true,
|
|
@@ -11780,18 +11873,36 @@
|
|
|
11780
11873
|
"immutable": true,
|
|
11781
11874
|
"locationInModule": {
|
|
11782
11875
|
"filename": "src/services/props/ServiceProps.ts",
|
|
11783
|
-
"line":
|
|
11876
|
+
"line": 49
|
|
11784
11877
|
},
|
|
11785
11878
|
"name": "loadBalancer",
|
|
11786
11879
|
"optional": true,
|
|
11787
11880
|
"type": {
|
|
11788
11881
|
"fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ILoadBalancerV2"
|
|
11789
11882
|
}
|
|
11883
|
+
},
|
|
11884
|
+
{
|
|
11885
|
+
"abstract": true,
|
|
11886
|
+
"docs": {
|
|
11887
|
+
"default": "Count of 2",
|
|
11888
|
+
"stability": "experimental",
|
|
11889
|
+
"summary": "The minimum number of unhealthy targets for an AZ to be considered unhealthy."
|
|
11890
|
+
},
|
|
11891
|
+
"immutable": true,
|
|
11892
|
+
"locationInModule": {
|
|
11893
|
+
"filename": "src/services/props/ServiceProps.ts",
|
|
11894
|
+
"line": 89
|
|
11895
|
+
},
|
|
11896
|
+
"name": "minimumUnhealthyTargets",
|
|
11897
|
+
"optional": true,
|
|
11898
|
+
"type": {
|
|
11899
|
+
"fqn": "@cdklabs/multi-az-observability.MinimumUnhealthyTargets"
|
|
11900
|
+
}
|
|
11790
11901
|
}
|
|
11791
11902
|
],
|
|
11792
11903
|
"symbolId": "src/services/props/ServiceProps:ServiceProps"
|
|
11793
11904
|
}
|
|
11794
11905
|
},
|
|
11795
|
-
"version": "0.0.1-alpha.
|
|
11796
|
-
"fingerprint": "
|
|
11906
|
+
"version": "0.0.1-alpha.52",
|
|
11907
|
+
"fingerprint": "HvGqeKgFLlh83uq1BMtl/FAWclKn08OmPMxy8pkjt3k="
|
|
11797
11908
|
}
|
package/API.md
CHANGED
|
@@ -1765,6 +1765,66 @@ MAD: 3
|
|
|
1765
1765
|
|
|
1766
1766
|
---
|
|
1767
1767
|
|
|
1768
|
+
### MinimumUnhealthyTargets <a name="MinimumUnhealthyTargets" id="@cdklabs/multi-az-observability.MinimumUnhealthyTargets"></a>
|
|
1769
|
+
|
|
1770
|
+
The minimum unhealthy targets for an AZ to be considered impaired instead of individual targets in the zone.
|
|
1771
|
+
|
|
1772
|
+
You must specify either count or percentage,
|
|
1773
|
+
if you specify both, only count will be used.
|
|
1774
|
+
|
|
1775
|
+
#### Initializer <a name="Initializer" id="@cdklabs/multi-az-observability.MinimumUnhealthyTargets.Initializer"></a>
|
|
1776
|
+
|
|
1777
|
+
```typescript
|
|
1778
|
+
import { MinimumUnhealthyTargets } from '@cdklabs/multi-az-observability'
|
|
1779
|
+
|
|
1780
|
+
const minimumUnhealthyTargets: MinimumUnhealthyTargets = { ... }
|
|
1781
|
+
```
|
|
1782
|
+
|
|
1783
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1784
|
+
|
|
1785
|
+
| **Name** | **Type** | **Description** |
|
|
1786
|
+
| --- | --- | --- |
|
|
1787
|
+
| <code><a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets.property.count">count</a></code> | <code>number</code> | The minimum number of targets that must be unhealthy. |
|
|
1788
|
+
| <code><a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets.property.percentage">percentage</a></code> | <code>number</code> | The minimum percentage of targets that must be unhealthy. |
|
|
1789
|
+
|
|
1790
|
+
---
|
|
1791
|
+
|
|
1792
|
+
##### `count`<sup>Optional</sup> <a name="count" id="@cdklabs/multi-az-observability.MinimumUnhealthyTargets.property.count"></a>
|
|
1793
|
+
|
|
1794
|
+
```typescript
|
|
1795
|
+
public readonly count: number;
|
|
1796
|
+
```
|
|
1797
|
+
|
|
1798
|
+
- *Type:* number
|
|
1799
|
+
- *Default:* This value is not used
|
|
1800
|
+
|
|
1801
|
+
The minimum number of targets that must be unhealthy.
|
|
1802
|
+
|
|
1803
|
+
If the number of
|
|
1804
|
+
unhealthy targets is equal to this, or greater, the impact ot a single AZ
|
|
1805
|
+
is not considered ot be from a "single" target. You must specify either count or percentage,
|
|
1806
|
+
if you specify both, only count will be used.
|
|
1807
|
+
|
|
1808
|
+
---
|
|
1809
|
+
|
|
1810
|
+
##### `percentage`<sup>Optional</sup> <a name="percentage" id="@cdklabs/multi-az-observability.MinimumUnhealthyTargets.property.percentage"></a>
|
|
1811
|
+
|
|
1812
|
+
```typescript
|
|
1813
|
+
public readonly percentage: number;
|
|
1814
|
+
```
|
|
1815
|
+
|
|
1816
|
+
- *Type:* number
|
|
1817
|
+
- *Default:* This value is not used
|
|
1818
|
+
|
|
1819
|
+
The minimum percentage of targets that must be unhealthy.
|
|
1820
|
+
|
|
1821
|
+
If the percentage
|
|
1822
|
+
of unhealthy targets is equal to this, or greater, the impact to a single AZ
|
|
1823
|
+
is not considered to be from a "single" target. You must specify either count or percentage,
|
|
1824
|
+
if you specify both, only count will be used.
|
|
1825
|
+
|
|
1826
|
+
---
|
|
1827
|
+
|
|
1768
1828
|
### NatGatewayDetectionProps <a name="NatGatewayDetectionProps" id="@cdklabs/multi-az-observability.NatGatewayDetectionProps"></a>
|
|
1769
1829
|
|
|
1770
1830
|
The properties for performing zonal impact detection with NAT Gateway(s).
|
|
@@ -3233,6 +3293,7 @@ const serviceProps: ServiceProps = { ... }
|
|
|
3233
3293
|
| <code><a href="#@cdklabs/multi-az-observability.ServiceProps.property.canaryTestProps">canaryTestProps</a></code> | <code><a href="#@cdklabs/multi-az-observability.AddCanaryTestProps">AddCanaryTestProps</a></code> | Define these settings if you want to automatically add canary tests to your operations. |
|
|
3234
3294
|
| <code><a href="#@cdklabs/multi-az-observability.ServiceProps.property.defaultContributorInsightRuleDetails">defaultContributorInsightRuleDetails</a></code> | <code><a href="#@cdklabs/multi-az-observability.IContributorInsightRuleDetails">IContributorInsightRuleDetails</a></code> | The default settings that are used for contributor insight rules. |
|
|
3235
3295
|
| <code><a href="#@cdklabs/multi-az-observability.ServiceProps.property.loadBalancer">loadBalancer</a></code> | <code>aws-cdk-lib.aws_elasticloadbalancingv2.ILoadBalancerV2</code> | The load balancer this service sits behind. |
|
|
3296
|
+
| <code><a href="#@cdklabs/multi-az-observability.ServiceProps.property.minimumUnhealthyTargets">minimumUnhealthyTargets</a></code> | <code><a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets">MinimumUnhealthyTargets</a></code> | The minimum number of unhealthy targets for an AZ to be considered unhealthy. |
|
|
3236
3297
|
|
|
3237
3298
|
---
|
|
3238
3299
|
|
|
@@ -3365,6 +3426,19 @@ The load balancer this service sits behind.
|
|
|
3365
3426
|
|
|
3366
3427
|
---
|
|
3367
3428
|
|
|
3429
|
+
##### `minimumUnhealthyTargets`<sup>Optional</sup> <a name="minimumUnhealthyTargets" id="@cdklabs/multi-az-observability.ServiceProps.property.minimumUnhealthyTargets"></a>
|
|
3430
|
+
|
|
3431
|
+
```typescript
|
|
3432
|
+
public readonly minimumUnhealthyTargets: MinimumUnhealthyTargets;
|
|
3433
|
+
```
|
|
3434
|
+
|
|
3435
|
+
- *Type:* <a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets">MinimumUnhealthyTargets</a>
|
|
3436
|
+
- *Default:* Count of 2
|
|
3437
|
+
|
|
3438
|
+
The minimum number of unhealthy targets for an AZ to be considered unhealthy.
|
|
3439
|
+
|
|
3440
|
+
---
|
|
3441
|
+
|
|
3368
3442
|
## Classes <a name="Classes" id="Classes"></a>
|
|
3369
3443
|
|
|
3370
3444
|
### CanaryMetrics <a name="CanaryMetrics" id="@cdklabs/multi-az-observability.CanaryMetrics"></a>
|
|
@@ -4908,6 +4982,7 @@ Adds an operation to this service and sets the operation's service property.
|
|
|
4908
4982
|
| <code><a href="#@cdklabs/multi-az-observability.Service.property.canaryTestProps">canaryTestProps</a></code> | <code><a href="#@cdklabs/multi-az-observability.AddCanaryTestProps">AddCanaryTestProps</a></code> | Define these settings if you want to automatically add canary tests to your operations. |
|
|
4909
4983
|
| <code><a href="#@cdklabs/multi-az-observability.Service.property.defaultContributorInsightRuleDetails">defaultContributorInsightRuleDetails</a></code> | <code><a href="#@cdklabs/multi-az-observability.IContributorInsightRuleDetails">IContributorInsightRuleDetails</a></code> | The default settings that are used for contributor insight rules. |
|
|
4910
4984
|
| <code><a href="#@cdklabs/multi-az-observability.Service.property.loadBalancer">loadBalancer</a></code> | <code>aws-cdk-lib.aws_elasticloadbalancingv2.ILoadBalancerV2</code> | The load balancer this service sits behind. |
|
|
4985
|
+
| <code><a href="#@cdklabs/multi-az-observability.Service.property.minimumUnhealthyTargets">minimumUnhealthyTargets</a></code> | <code><a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets">MinimumUnhealthyTargets</a></code> | The minimum number of unhealthy targets to consider an AZ impaired. |
|
|
4911
4986
|
|
|
4912
4987
|
---
|
|
4913
4988
|
|
|
@@ -5052,6 +5127,19 @@ The load balancer this service sits behind.
|
|
|
5052
5127
|
|
|
5053
5128
|
---
|
|
5054
5129
|
|
|
5130
|
+
##### `minimumUnhealthyTargets`<sup>Optional</sup> <a name="minimumUnhealthyTargets" id="@cdklabs/multi-az-observability.Service.property.minimumUnhealthyTargets"></a>
|
|
5131
|
+
|
|
5132
|
+
```typescript
|
|
5133
|
+
public readonly minimumUnhealthyTargets: MinimumUnhealthyTargets;
|
|
5134
|
+
```
|
|
5135
|
+
|
|
5136
|
+
- *Type:* <a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets">MinimumUnhealthyTargets</a>
|
|
5137
|
+
- *Default:* Count of 2
|
|
5138
|
+
|
|
5139
|
+
The minimum number of unhealthy targets to consider an AZ impaired.
|
|
5140
|
+
|
|
5141
|
+
---
|
|
5142
|
+
|
|
5055
5143
|
|
|
5056
5144
|
### ServiceAvailabilityMetricDetails <a name="ServiceAvailabilityMetricDetails" id="@cdklabs/multi-az-observability.ServiceAvailabilityMetricDetails"></a>
|
|
5057
5145
|
|
|
@@ -7850,6 +7938,7 @@ Adds an operation to this service.
|
|
|
7850
7938
|
| <code><a href="#@cdklabs/multi-az-observability.IService.property.canaryTestProps">canaryTestProps</a></code> | <code><a href="#@cdklabs/multi-az-observability.AddCanaryTestProps">AddCanaryTestProps</a></code> | Define these settings if you want to automatically add canary tests to your operations. |
|
|
7851
7939
|
| <code><a href="#@cdklabs/multi-az-observability.IService.property.defaultContributorInsightRuleDetails">defaultContributorInsightRuleDetails</a></code> | <code><a href="#@cdklabs/multi-az-observability.IContributorInsightRuleDetails">IContributorInsightRuleDetails</a></code> | The default settings that are used for contributor insight rules. |
|
|
7852
7940
|
| <code><a href="#@cdklabs/multi-az-observability.IService.property.loadBalancer">loadBalancer</a></code> | <code>aws-cdk-lib.aws_elasticloadbalancingv2.ILoadBalancerV2</code> | The load balancer this service sits behind. |
|
|
7941
|
+
| <code><a href="#@cdklabs/multi-az-observability.IService.property.minimumUnhealthyTargets">minimumUnhealthyTargets</a></code> | <code><a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets">MinimumUnhealthyTargets</a></code> | The minimum number of unhealthy targets to consider an AZ impaired. |
|
|
7853
7942
|
|
|
7854
7943
|
---
|
|
7855
7944
|
|
|
@@ -7994,6 +8083,19 @@ The load balancer this service sits behind.
|
|
|
7994
8083
|
|
|
7995
8084
|
---
|
|
7996
8085
|
|
|
8086
|
+
##### `minimumUnhealthyTargets`<sup>Optional</sup> <a name="minimumUnhealthyTargets" id="@cdklabs/multi-az-observability.IService.property.minimumUnhealthyTargets"></a>
|
|
8087
|
+
|
|
8088
|
+
```typescript
|
|
8089
|
+
public readonly minimumUnhealthyTargets: MinimumUnhealthyTargets;
|
|
8090
|
+
```
|
|
8091
|
+
|
|
8092
|
+
- *Type:* <a href="#@cdklabs/multi-az-observability.MinimumUnhealthyTargets">MinimumUnhealthyTargets</a>
|
|
8093
|
+
- *Default:* Count of 2
|
|
8094
|
+
|
|
8095
|
+
The minimum number of unhealthy targets to consider an AZ impaired.
|
|
8096
|
+
|
|
8097
|
+
---
|
|
8098
|
+
|
|
7997
8099
|
### IServiceAlarmsAndRules <a name="IServiceAlarmsAndRules" id="@cdklabs/multi-az-observability.IServiceAlarmsAndRules"></a>
|
|
7998
8100
|
|
|
7999
8101
|
- *Implemented By:* <a href="#@cdklabs/multi-az-observability.IServiceAlarmsAndRules">IServiceAlarmsAndRules</a>
|
|
@@ -12,7 +12,7 @@ import { OutlierDetectionAlgorithm } from '../utilities/OutlierDetectionAlgorith
|
|
|
12
12
|
import { IOperationAvailabilityMetricDetails } from '../services/IOperationAvailabilityMetricDetails';
|
|
13
13
|
import { IOperationLatencyMetricDetails } from '../services/IOperationLatencyMetricDetails';
|
|
14
14
|
import { LatencyOutlierMetricAggregation } from '../outlier-detection/LatencyOutlierMetricAggregation';
|
|
15
|
-
import { MinimumUnhealthyTargets } from
|
|
15
|
+
import { MinimumUnhealthyTargets } from '../utilities/MinimumUnhealthyTargets';
|
|
16
16
|
/**
|
|
17
17
|
* Class used to create availability and latency alarms and Contributor Insight rules
|
|
18
18
|
*/
|