Skip to content

Describe Scraper Logging Configuration

prometheusservice_describe_scraper_logging_configuration R Documentation

Describes the logging configuration for a Amazon Managed Service for Prometheus scraper

Description

Describes the logging configuration for a Amazon Managed Service for Prometheus scraper.

Usage

prometheusservice_describe_scraper_logging_configuration(scraperId)

Arguments

scraperId

[required] The ID of the scraper whose logging configuration will be described.

Value

A list with the following syntax:

list(
  status = list(
    statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
    statusReason = "string"
  ),
  scraperId = "string",
  loggingDestination = list(
    cloudWatchLogs = list(
      logGroupArn = "string"
    )
  ),
  scraperComponents = list(
    list(
      type = "SERVICE_DISCOVERY"|"COLLECTOR"|"EXPORTER",
      config = list(
        options = list(
          "string"
        )
      )
    )
  ),
  modifiedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$describe_scraper_logging_configuration(
  scraperId = "string"
)