Skip to content

Commit 03ed36f

Browse files
committed
Fix shard limits
1 parent f643829 commit 03ed36f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrastructure/kinesis-load-testing-with-locust.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export class KinesisLoadTestingWithLocustStack extends cdk.Stack {
326326
"height": 4,
327327
"properties": {
328328
"metrics": [
329-
[{ "expression": `${SHARD_LIMIT} * 1 * IF(m5, 1, 1)`, "label": "Incoming data Limit", "id": "e6", "color": "#d62728", "region": `${this.region}`, "period": 60 }],
329+
[{ "expression": `200 * 1 * IF(m5, 1, 1)`, "label": "Incoming data Limit", "id": "e6", "color": "#d62728", "region": `${this.region}`, "period": 60 }],
330330
[{ "expression": "m5/1024/1024/PERIOD(m5)", "id": "e1", "label": "Incoming data - sum (MB/s)", "region": `${this.region}`, "period": 60 }],
331331
["AWS/Kinesis", "IncomingBytes", "StreamName", "${StreamName}", { "id": "m5", "visible": false, "stat": "Sum" }]
332332
],
@@ -352,7 +352,7 @@ export class KinesisLoadTestingWithLocustStack extends cdk.Stack {
352352
"height": 4,
353353
"properties": {
354354
"metrics": [
355-
[{ "expression": `${SHARD_LIMIT} *\n 1000 * PERIOD(m6) * IF(m6, 1, 1)`, "label": "Incoming records Limit", "id": "e6", "color": "#d62728", "period": 60, "region": `${this.region}` }],
355+
[{ "expression": `200 *\n 1000 * PERIOD(m6) * IF(m6, 1, 1)`, "label": "Incoming records Limit", "id": "e6", "color": "#d62728", "period": 60, "region": `${this.region}` }],
356356
["AWS/Kinesis", "IncomingRecords", "StreamName", "${StreamName}", { "id": "m6", "visible": true }]
357357
],
358358
"region": `${this.region}`,

0 commit comments

Comments
 (0)