Skip to content

Commit

Permalink
feat: adds "Most-used Charts" to Superset Usage dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
pomegranited committed Oct 26, 2023
1 parent f0db289 commit cc86114
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
_file_name: monitoring.superset_top_charts_by_action_count_595.yaml
slice_name: Most-used Charts
viz_type: table
description: Chart showing the number of Superset actions taken on each chart in the selected time period.
params:
adhoc_filters:
- clause: WHERE
comparator: null
expressionType: SIMPLE
filterOptionName: filter_l6m8rb1vslf_a07sl2fma45
isExtra: false
isNew: false
operator: IS NOT NULL
operatorId: IS_NOT_NULL
sqlExpression: null
subject: slice_id
all_columns: []
color_pn: false
conditional_formatting: []
datasource: 473__table
extra_form_data: {}
granularity_sqla: action_date
groupby:
- slice_name
include_search: true
metrics:
- aggregate: SUM
column:
certification_details: null
certified_by: null
column_name: action_count
description: null
expression: null
filterable: true
groupby: true
id: 47205
is_certified: false
is_dttm: false
python_date_format: null
type: INT
type_generic: 0
verbose_name: null
warning_markdown: null
expressionType: SIMPLE
hasCustomLabel: false
isNew: false
label: SUM(action_count)
optionName: metric_s8q9hgt4ktk_u149bx4eoq8
sqlExpression: null
order_by_cols: []
order_desc: true
page_length: 20
percent_metrics: []
query_mode: aggregate
row_limit: 100
server_page_length: 10
show_cell_bars: false
slice_id: 594
table_timestamp_format: smart_date
time_grain_sqla: P1D
time_range: No filter
time_range_endpoints:
- inclusive
- exclusive
url_params: {}
viz_type: table
query_context: null
cache_timeout: null
uuid: 9d5f69e8-f335-42a0-bbfa-272f43d74ad0
version: 1.0.0
dataset_uuid: c33517b3-daa5-4fac-b7f2-ae012b999d12
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ position:
height: 39
sliceName: monitoring.superset_charts_by_type
uuid: 84393abe-04ab-4084-a195-116ad568badd
width: 8
width: 12
parents:
- ROOT_ID
- GRID_ID
Expand Down Expand Up @@ -73,6 +73,22 @@ position:
- TAB-4eeLv-Y4_
- ROW-hy1TP2JVW
type: CHART
CHART-hmqz07XRxF:
children: []
id: CHART-hmqz07XRxF
meta:
chartId: 635
height: 50
sliceName: monitoring.superset_top_charts_by_action_count
uuid: 9d5f69e8-f335-42a0-bbfa-272f43d74ad0
width: 8
parents:
- ROOT_ID
- GRID_ID
- TABS-y6hV6lvRWK
- TAB-4eeLv-Y4_
- ROW-hy1TP2JVW
type: CHART
CHART-kpQQbyTGzF:
children: []
id: CHART-kpQQbyTGzF
Expand Down Expand Up @@ -189,6 +205,18 @@ position:
- GRID_ID
id: ROOT_ID
type: ROOT
ROW-3IsAIVz071:
children:
- CHART-RhGZahacVK
id: ROW-3IsAIVz071
meta:
background: BACKGROUND_TRANSPARENT
parents:
- ROOT_ID
- GRID_ID
- TABS-y6hV6lvRWK
- TAB-4eeLv-Y4_
type: ROW
ROW-A2SHf-1fx6:
children:
- COLUMN-85pvSdbZT8
Expand Down Expand Up @@ -231,7 +259,7 @@ position:
ROW-hy1TP2JVW:
children:
- CHART-dV984MpOZE
- CHART-RhGZahacVK
- CHART-hmqz07XRxF
id: ROW-hy1TP2JVW
meta:
background: BACKGROUND_TRANSPARENT
Expand All @@ -244,6 +272,7 @@ position:
TAB-4eeLv-Y4_:
children:
- ROW-hy1TP2JVW
- ROW-3IsAIVz071
id: TAB-4eeLv-Y4_
meta:
defaultText: Tab title
Expand Down

0 comments on commit cc86114

Please sign in to comment.