Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update expected number of data nodes #147

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cdk/lib/__snapshots__/elastic-search-monitor.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ exports[`The ElasticSearchMonitor stack matches the snapshot 1`] = `
"Value": "TEST",
},
],
"Threshold": 3,
"Threshold": 4,
},
"Type": "AWS::CloudWatch::Alarm",
},
Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/elastic-search-monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class ElasticSearchMonitor extends GuStack {
alarmDescription: `Unexpected count of data nodes in ${this.stage}. Runbook: https://docs.google.com/document/d/1PuEvL7L-CTV72Jx4OmiB3y5hlMmJR7Xz-YxYWAMiGdY`,
evaluationPeriods: 2,
metric: metric("NumberOfDataNodes"),
threshold: 3,
threshold: 4,
});

new GuAlarm(this, "MasterNodeCountAlarm", {
Expand Down