PrometheusService / Client / get_default_scraper_configuration
get_default_scraper_configuration#
- PrometheusService.Client.get_default_scraper_configuration()#
The
GetDefaultScraperConfiguration
operation returns the default scraper configuration used when Amazon EKS creates a scraper for you.See also: AWS API Documentation
Request Syntax
response = client.get_default_scraper_configuration()
- Return type:
dict
- Returns:
Response Syntax
{ 'configuration': b'bytes' }
Response Structure
(dict) –
Represents the output of a
GetDefaultScraperConfiguration
operation.configuration (bytes) –
The configuration file. Base 64 encoded. For more information, see `Scraper configuration <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration>`__in the Amazon Managed Service for Prometheus User Guide.
Exceptions