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¶
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"
)
)