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
Add document about CloudWatch metrics #2350
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
585d4cc
add document about CloudWatch metrics
mikena-truss 6642733
add Terraform location
mikena-truss 0b33271
add metrics to doc root
mikena-truss 945582e
add docs on updating dashboards
mikena-truss 0f6868d
Merge branch 'master' into mw-add-dashboard-docs
mikena-truss File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# MilMove Application Metrics | ||
|
||
This document provides an overview of the metrics collected by the MilMove application. | ||
|
||
## Dashboards | ||
|
||
Various AWS metrics have been aggregated in CloudWatch dashboards. | ||
These include data about network requests, container resources, and errors. | ||
|
||
* [Prod Dashboard](https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#dashboards:name=mil-prod) | ||
* [Staging Dashboard](https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#dashboards:name=mil-staging) | ||
* [Experimental Dashboard](https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#dashboards:name=mil-experimental) | ||
|
||
### Updating Dashboards | ||
|
||
Dashboards are maintained by Terraform in the [MilMove infra repo](https://github.com/transcom/ppp-infra/blob/master/modules/aws-app-environment/main.tf#L840). | ||
When changes are made in the AWS CloudWatch UI, | ||
they can be exported by clicking "Actions" > "View/edit source". | ||
The Terraform file can be updated with this source, | ||
replacing environment variables as shown in the existing file. | ||
Feel free to ask the Infrastructure team for help, | ||
as they'll have access to deploy changes across environments. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chrisgilmerproj can I get some of your time to create a small guide for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely, just grab any time on my calendar.
For what to write here I think it depends on how deep you want to go. I might just say "If you want to preserve changes to one of these dashboards have infrastructure update their terraform configurations." And then you could link them to this file: https://github.com/transcom/ppp-infra/blob/master/modules/aws-app-environment/main.tf#L840-L995. All I do is copy the source from the dashboard, paste it in that file, and update it a bit to use templated variables.