Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_crawler_metrics

get_crawler_metrics(**kwargs)

Retrieves metrics about specified crawlers.

See also: AWS API Documentation

Request Syntax

response = client.get_crawler_metrics(
    CrawlerNameList=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • CrawlerNameList (list) --

    A list of the names of crawlers about which to retrieve metrics.

    • (string) --
  • MaxResults (integer) -- The maximum size of a list to return.
  • NextToken (string) -- A continuation token, if this is a continuation call.
Return type

dict

Returns

Response Syntax

{
    'CrawlerMetricsList': [
        {
            'CrawlerName': 'string',
            'TimeLeftSeconds': 123.0,
            'StillEstimating': True|False,
            'LastRuntimeSeconds': 123.0,
            'MedianRuntimeSeconds': 123.0,
            'TablesCreated': 123,
            'TablesUpdated': 123,
            'TablesDeleted': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CrawlerMetricsList (list) --

      A list of metrics for the specified crawler.

      • (dict) --

        Metrics for a specified crawler.

        • CrawlerName (string) --

          The name of the crawler.

        • TimeLeftSeconds (float) --

          The estimated time left to complete a running crawl.

        • StillEstimating (boolean) --

          True if the crawler is still estimating how long it will take to complete this run.

        • LastRuntimeSeconds (float) --

          The duration of the crawler's most recent run, in seconds.

        • MedianRuntimeSeconds (float) --

          The median duration of this crawler's runs, in seconds.

        • TablesCreated (integer) --

          The number of tables created by this crawler.

        • TablesUpdated (integer) --

          The number of tables updated by this crawler.

        • TablesDeleted (integer) --

          The number of tables deleted by this crawler.

    • NextToken (string) --

      A continuation token, if the returned list does not contain the last metric available.

Exceptions

  • Glue.Client.exceptions.OperationTimeoutException