Skip to content

Commit

Permalink
feat: updating alarm settings for cc-v1-st-bulk-DELETE-0 (#727)
Browse files Browse the repository at this point in the history
* feat: updating alarm settings for cc-v1-st-bulk-DELETE-0

* fix: adjust alarm, acording to requirement in the ticket

---------

Co-authored-by: Gerald Iakobinyi-Pich <[email protected]>
  • Loading branch information
nutrina and Gerald Iakobinyi-Pich authored Nov 12, 2024
1 parent 0813612 commit 130420f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@ const alarmConfigurations: AlarmConfigurations = {
datapointsToAlarm: 10,
evaluationPeriods: 15,
},
"cc-v1-st-bulk-DELETE-0": {
percentHTTPCodeTarget4XX: 0.5, // 0..1 value for target error codes
percentHTTPCodeTarget5XX: 0.01, // 0..1 value for target error codes
targetResponseTime: 2,
period: 60,
datapointsToAlarm: 7,
evaluationPeriods: 10,
},
};

const CERAMIC_CACHE_SCORER_ID = CERAMIC_CACHE_SCORER_ID_CONFG[stack];
Expand Down
1 change: 1 addition & 0 deletions infra/lib/scorer/loadBalancer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type AlarmConfigurations = {
"cc-v1-score-POST-0": TargetGroupAlarmsConfiguration;
"cc-v1-st-bulk-PATCH-0": TargetGroupAlarmsConfiguration;
"submit-passport-0": TargetGroupAlarmsConfiguration;
"cc-v1-st-bulk-DELETE-0": TargetGroupAlarmsConfiguration;
};

export function createLoadBalancerAlarms(
Expand Down

0 comments on commit 130420f

Please sign in to comment.