forked from llooker/blocks_redshift_admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redshift_admin.dashboard.lookml
65 lines (60 loc) · 1.93 KB
/
redshift_admin.dashboard.lookml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
- dashboard: redshift_admin
title: 'Redshift Admin'
layout: tile
tile_size: 100
elements:
- name: table_load_summary
title: 'Table Load Summary'
type: table
model: redshift_model
explore: redshift_data_loads
dimensions: [redshift_data_loads.root_bucket, redshift_data_loads.s3_path_clean, redshift_data_loads.file_stem]
measures: [redshift_data_loads.hours_since_last_load]
sorts: [redshift_data_loads.root_bucket]
show_view_names: true
show_row_numbers: true
width: 12
height: 4
limit: 500
- name: recent_files_loaded
title: 'Recent Files Loaded'
type: table
model: redshift_model
explore: redshift_data_loads
dimensions: [redshift_data_loads.file_name]
measures: [redshift_data_loads.hours_since_last_load]
filters:
redshift_data_loads.load_date: 3 hours
sorts: [redshift_data_loads.hours_since_last_load]
show_view_names: true
show_row_numbers: true
width: 12
height: 4
limit: 500
- name: recent_load_errors
title: 'Recent Load Errors'
type: table
model: redshift_model
explore: redshift_etl_errors
dimensions: [redshift_etl_errors.error_date, redshift_etl_errors.file_name, redshift_etl_errors.column_name,
redshift_etl_errors.column_data_type, redshift_etl_errors.error_reason]
filters:
redshift_etl_errors.error_date: 7 days
sorts: [redshift_etl_errors.error_date desc]
show_view_names: true
width: 12
height: 4
limit: 500
- name: database_consumption
title: 'Database Consumption'
type: table
model: redshift_model
explore: redshift_db_space
dimensions: [redshift_db_space.schema, redshift_db_space.table_stem]
measures: [redshift_db_space.total_rows, redshift_db_space.total_megabytes, redshift_db_space.total_tables]
sorts: [redshift_db_space.total_megabytes desc]
show_view_names: true
show_row_numbers: true
width: 12
height: 4
limit: 500