crawler_metrics
Creates, updates, deletes, gets or lists a crawler_metrics resource.
Overview
| Name | crawler_metrics |
| Type | Resource |
| Id | aws.glue.crawler_metrics |
Fields
The following fields are returned by SELECT queries:
- get_crawler_metrics
| Name | Datatype | Description |
|---|---|---|
crawler_name | string | The name of the crawler. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>) |
last_runtime_seconds | number (double) | The duration of the crawler's most recent run, in seconds. |
median_runtime_seconds | number (double) | The median duration of this crawler's runs, in seconds. |
still_estimating | boolean | True if the crawler is still estimating how long it will take to complete this run. |
tables_created | integer | The number of tables created by this crawler. |
tables_deleted | integer | The number of tables deleted by this crawler. |
tables_updated | integer | The number of tables updated by this crawler. |
time_left_seconds | number (double) | The estimated time left to complete a running crawl. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_crawler_metrics | select | region | Retrieves metrics about specified crawlers. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_crawler_metrics
Retrieves metrics about specified crawlers.
SELECT
crawler_name,
last_runtime_seconds,
median_runtime_seconds,
still_estimating,
tables_created,
tables_deleted,
tables_updated,
time_left_seconds
FROM aws.glue.crawler_metrics
WHERE region = '{{ region }}' -- required
;