aws amp create-scraper
Creates a scraper to collect metrics from Prometheus-compatible sources. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--alias(optional) An alias to associate with the scraper.--client-token(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.--destinationThe destination where the scraper sends the collected metrics.--exportersThe exporter configurations for the scraper.--role-configurationUse this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.--scrape-configurationThe configuration file to use in the new scraper.--sourceThe Amazon EKS or Amazon Web Services cluster from which the scraper will collect metrics.--tags(Optional) The list of tag keys and values to associate with the scraper.