View source: R/prometheusservice_operations.R
| prometheusservice_update_scraper | R Documentation |
Updates an existing scraper.
See https://www.paws-r-sdk.com/docs/prometheusservice_update_scraper/ for full documentation.
prometheusservice_update_scraper(
scraperId,
alias = NULL,
scrapeConfiguration = NULL,
destination = NULL,
roleConfiguration = NULL,
clientToken = NULL,
exporters = NULL
)
scraperId |
[required] The ID of the scraper to update. |
alias |
The new alias of the scraper. |
scrapeConfiguration |
Contains the base-64 encoded YAML configuration for the scraper. For more information about configuring a scraper, see Using an Amazon Web Services managed collector in the Amazon Managed Service for Prometheus User Guide. |
destination |
The new destination where the scraper sends metrics. Valid destinations are Amazon Managed Service for Prometheus workspaces and CloudWatch datasets. |
roleConfiguration |
Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts. |
clientToken |
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive. |
exporters |
The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the existing exporter configuration remains unchanged. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.