Learn R Programming

paws.management (version 0.9.0)

prometheusservice_create_scraper: The CreateScraper operation creates a scraper to collect metrics

Description

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. Scrapers are flexible, and can be configured to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more.

See https://www.paws-r-sdk.com/docs/prometheusservice_create_scraper/ for full documentation.

Usage

prometheusservice_create_scraper(
  alias = NULL,
  clientToken = NULL,
  destination,
  roleConfiguration = NULL,
  scrapeConfiguration,
  source,
  tags = NULL
)

Arguments

alias

(optional) An alias 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.

roleConfiguration

The scraper role configuration for the workspace.

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.