Update Scraper Logging Configuration
| prometheusservice_update_scraper_logging_configuration | R Documentation |
Updates the logging configuration for a Amazon Managed Service for Prometheus scraper¶
Description¶
Updates the logging configuration for a Amazon Managed Service for Prometheus scraper.
Usage¶
prometheusservice_update_scraper_logging_configuration(scraperId,
loggingDestination, scraperComponents)
Arguments¶
scraperId |
[required] The ID of the scraper whose logging configuration will be updated. |
loggingDestination |
[required] The destination where scraper logs will be sent. |
scraperComponents |
The list of scraper components to configure for logging. |
Value¶
A list with the following syntax:
list(
status = list(
statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
statusReason = "string"
)
)
Request syntax¶
svc$update_scraper_logging_configuration(
scraperId = "string",
loggingDestination = list(
cloudWatchLogs = list(
logGroupArn = "string"
)
),
scraperComponents = list(
list(
type = "SERVICE_DISCOVERY"|"COLLECTOR"|"EXPORTER",
config = list(
options = list(
"string"
)
)
)
)
)