Monitor collectors - Amazon CloudWatch
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Monitor collectors

Amazon CloudWatch managed Prometheus collectors automatically vend logs to CloudWatch Logs so you can monitor scraper health, diagnose connectivity issues, and track scraping activity. These logs include information about target discovery, scrape successes and failures, and configuration errors. For more information about collector logging, see Logging for managed collectors in the Amazon Managed Service for Prometheus User Guide.

List scrapers

Use the following command to list all scrapers in your account and Region:

aws amp list-scrapers

To filter scrapers by alias:

aws amp list-scrapers --filters alias=my-scraper-alias

Describe a scraper

To view the details and current status of a specific scraper:

aws amp describe-scraper --scraper-id scraper-id

Delete a scraper

To delete a scraper that is no longer needed:

aws amp delete-scraper --scraper-id scraper-id
Note

Deleting a scraper removes the ENIs that the collector created in your VPC. Allow a few minutes for the deletion to complete and for CloudWatch to clean up all associated resources.