Ingest CloudWatch Metrics
groundcover supports ingesting CloudWatch metrics directly into our platform, allowing you to visualize them using dashboards and create alerts.
Things to know
Ingestion interval
The integration pulls data from CloudWatch every five minutes.
Data storage
Data fetched is stored in the Victoria Metrics database, meaning metrics are queried via the CloudWatch API only one time per data point.
Metric Statistics
Each metric has a label called stat
which denotes the AWS statistic used during querying. Some metrics have multiple stats which are useful for different cases.
Supported AWS services
Setting up the integration
Create an IAM role and policy
The following part requires two parameters:
YOUR_GROUNDCOVER_ACCOUNT_ID
- the AWS account id hosting the groundcover backend, created during onboardingYOUR_GROUNDCOVER_SITE_ID
- your unique groundcover endpoint ID:Fetch your
inCloud Site
from these docs It will look like<SITE_ID>.platform.grcv.io
The ID is the first part marked above as
<SITE_ID>
Go to Amazon IAM
Click on Roles in the side bar
Click on Create Role
Select Custom trust policy
Paste the following policy:
Click on Next twice (we'll attach permissions later)
Provide a name for the role
Click on Create Role
Go to your newly created role
In the Permissions section, click on Add permissions and then Create inline policy
Click on JSON and paste the following:
Click on Next
Give the policy a name
Click on Create Policy
Choosing namespaces to ingest
Select the AWS namespaces you wish to ingest metrics from. The list of supported services is here.
Share details with groundcover
Share the following details with the groundcover team to complete the integration:
The ARN of the role created above
The list of namespaces you wish to ingest
The region that hosts the account you wish to ingest metrics from
Last updated