View source: R/prometheusservice_operations.R
prometheusservice_create_scraper | R Documentation |
The create_scraper
operation creates a scraper to collect metrics. A scraper pulls metrics from Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for Prometheus workspace. You can configure the scraper to control what metrics are collected, and what transformations are applied prior to sending them to your workspace.
See https://www.paws-r-sdk.com/docs/prometheusservice_create_scraper/ for full documentation.
prometheusservice_create_scraper(
alias = NULL,
clientToken = NULL,
destination,
scrapeConfiguration,
source,
tags = NULL
)
alias |
(optional) a name to associate with the scraper. This is for your use, and does not need to be unique. |
clientToken |
(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request. |
destination |
[required] The Amazon Managed Service for Prometheus workspace to send metrics to. |
scrapeConfiguration |
[required] The configuration file to use in the new scraper. For more information, see Scraper configuration in the Amazon Managed Service for Prometheus User Guide. |
source |
[required] The Amazon EKS cluster from which the scraper will collect metrics. |
tags |
(Optional) The list of tag keys and values to associate with the scraper. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.