AWS CloudWatch is a metric monitoring service that helps DevOps teams discover, triage, and prioritize their observability data in real-time. Before you start, you should already have a AWS account and your environment setup and running. If not, head over to AWS to get things started. Once you're done, return to Sleuth so you can complete setup of the integration.
To add the Sleuth CloudWatch integration:
Click Integrations in the sidebar.
Click the Metric Trackers tab, then enable in the CloudWatch card.
Enter your Secret Key, Access Key and your AWS region in the corresponding fields.
Once the AWS CloudWatch integration is enabled, you will see CloudWatch enabled displayed in the integration card (as shown below).
Click Add metric and select a Sleuth project that will collect the metrics CloudWatch generates. All projects within your organization will be displayed in the dropdown.
That's it! Sleuth will now start verifying your deploys health by tracking the values from your CloudWatch metric. Head over to the Dashboard to start seeing your data in action in the project and deploy health graphs.
Click on Integrations in the left sidebar, then on Metric Trackers.
In the AWS CloudWatch integration card, click disable.
The AWS CloudWatch integration is disconnected and no longer available to any projects within that organization. Any project-level modifications you made to the AWS CloudWatch integration will be lost.
Click +Add under IMPACT SOURCES in left sidebar
Select CloudWatch from dropdown and click "Enable and add"
Query defines which metric the impact will track. There are 2 ways to specify your metric query:
you can write the query parameters in the prefilled format
Log in to AWS CloudWatch management console
Click on Metrics in left sidebar
Click through metric groups cards and select the metric you want your impact to track
4. Make sure only 1 metric is graphed, click Source and copy-paste the JSON to Sleuth