:doc:`Glue <../../glue>` / Client / get_crawler_metrics

*******************
get_crawler_metrics
*******************



.. py:method:: Glue.Client.get_crawler_metrics(**kwargs)

  

  Retrieves metrics about specified crawlers.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics>`_  


  **Request Syntax**
  ::

    response = client.get_crawler_metrics(
        CrawlerNameList=[
            'string',
        ],
        MaxResults=123,
        NextToken='string'
    )
    
  :type CrawlerNameList: list
  :param CrawlerNameList: 

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

    

  
    - *(string) --* 

    

  :type MaxResults: integer
  :param MaxResults: 

    The maximum size of a list to return.

    

  
  :type NextToken: string
  :param NextToken: 

    A continuation token, if this is a continuation call.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  