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

[IT-3471] Create cloudwatch metrics #25

Merged
merged 5 commits into from
Apr 8, 2024

Conversation

zaro0508
Copy link
Member

@zaro0508 zaro0508 commented Apr 3, 2024

Send beanstalk metrics to cloudwatch so that we can monitor beanstalk request errors. This feature requires enhanced Beanstalk health checks[1] so we change the template always enable it and then set a ConfigDocument[2][3] to enabled the metric.

[1] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elasticbeanstalkhealthreporting
[2] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-rules.html#health-enhanced-rules.configdocument
[3] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-cloudwatch.html#health-enhanced-cloudwatch-configdocument

Send beanstalk metrics to cloudwatch so that we can monitor beanstalk
request errors.  This feature requires enhanced Beanstalk health
checks[1] so we change the template always enable it and then set
a ConfigDocument[2] to enabled the metric.

[1] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elasticbeanstalkhealthreporting
[2] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-rules.html#health-enhanced-rules.configdocument
@zaro0508 zaro0508 requested review from a team as code owners April 3, 2024 23:54
zaro0508 added a commit to zaro0508/agora2-infra that referenced this pull request Apr 5, 2024
Setup a cloudwatch dashboard containing metrics from Elastic beanstalk
enhanced health checks.

depends on Sage-Bionetworks#25
zaro0508 added a commit to zaro0508/organizations-infra that referenced this pull request Apr 5, 2024
Create cloudwatch dashboards for agora develop, staging and prod in the
monitoring account. This requires setting up beanstalk to send metrics
to cloudwatch in the agora accounts.

depends on Sage-Bionetworks/agora2-infra#25
@zaro0508 zaro0508 merged commit 7a9e33f into Sage-Bionetworks:main Apr 8, 2024
7 checks passed
zaro0508 added a commit that referenced this pull request Apr 10, 2024
Setup a cloudwatch dashboard containing metrics from
Elastic beanstalk enhanced health checks.

depends on #25
zaro0508 added a commit to Sage-Bionetworks-IT/organizations-infra that referenced this pull request Apr 10, 2024
Create cloudwatch dashboards for agora develop, staging and prod in the
monitoring account. This requires setting up beanstalk to send metrics
to cloudwatch in the agora accounts.

depends on Sage-Bionetworks/agora2-infra#25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants