Create a scrape job
In this milestone, you’ll create a scrape job to customize metric collection from your AWS services. Scrape jobs let you specify which metrics to collect, set collection intervals, and apply filters to optimize performance and costs.
Scrape jobs provide granular control over metric collection, enabling you to focus on the most important metrics for your monitoring needs while avoiding unnecessary data collection.
- In Grafana Cloud, open the navigation menu and select Observability > Cloud provider > AWS, then click the Configuration tab.
To create the scrape job, complete the following steps:
Select the CloudWatch metrics scrape tile.
Click Add new scrape job.
Select the AWS account you created in the previous milestone.
Enter a descriptive name for the scrape job in the Scrape job name field, for example
EC2-Production-Monitoring.Leave the Include your AWS resource tags checkbox selected. This option is selected by default because Cloud Provider Observability for AWS requires tag data on the scrape info metrics for the best possible dashboard experience.
Select the AWS services that you want to scrape. Find services by using search or browsing the list of services. A default set of metrics is collected for each service, which you can configure in the next step.
Optionally, enter the names of any custom CloudWatch namespaces that you want to scrape. Separate namespace names with a comma. In the next step, you’ll manually configure the metrics to collect for each namespace.
For each service that you selected, you can optionally choose Edit metrics to view and configure each metric and its corresponding statistics to collect.
If you specified custom namespaces, you must choose Edit metrics for each namespace, and then type the exact name of each metric and its corresponding statistics to collect.
Click Create scrape job to begin collecting metrics.
The scrape job begins collecting metrics according to your configuration.
In your next milestone, you’ll monitor the job status to verify data is getting sent from your Amazon account to Grafana Cloud.
More to explore (optional)
Troubleshooting
Explore the following troubleshooting topics if you need help: