-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Operator dash user counts, performance
Don't use the user_pii table for user counts, since it may not be populated. Change this chart to be a count of active enrollments, which people have said is more useful. Also changed the time range for operator dash to 90 days to improve performance of the actors / events graphs.
- Loading branch information
Showing
13 changed files
with
241 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
...pects/build/aspects-superset/openedx-assets/assets/charts/Currently_Registered_Users.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
_file_name: Currently_Registered_Users.yaml | ||
cache_timeout: null | ||
certification_details: null | ||
certified_by: null | ||
dataset_uuid: 3dde421d-c0d0-43ab-8087-ca470985e88e | ||
description: null | ||
params: | ||
adhoc_filters: | ||
- clause: WHERE | ||
comparator: No filter | ||
datasourceWarning: false | ||
expressionType: SIMPLE | ||
filterOptionName: filter_twlv610ia5j_lkobma5tha | ||
isExtra: false | ||
isNew: false | ||
operator: TEMPORAL_RANGE | ||
sqlExpression: null | ||
subject: emission_time | ||
- clause: WHERE | ||
comparator: registered | ||
datasourceWarning: false | ||
expressionType: SIMPLE | ||
filterOptionName: filter_pj8co397y3o_0b0rs0sh42o | ||
isExtra: false | ||
isNew: false | ||
operator: == | ||
operatorId: EQUALS | ||
sqlExpression: null | ||
subject: enrollment_status | ||
conditional_formatting: [] | ||
extra_form_data: {} | ||
force_timestamp_formatting: false | ||
header_font_size: 0.5 | ||
metric: | ||
aggregate: null | ||
column: null | ||
datasourceWarning: false | ||
expressionType: SQL | ||
hasCustomLabel: true | ||
label: Enrolled Users | ||
optionName: metric_rv2dquu9awp_95ed6x24fj | ||
sqlExpression: count(distinct actor_id) | ||
subheader: '' | ||
subheader_font_size: 0.2 | ||
time_format: smart_date | ||
viz_type: big_number_total | ||
y_axis_format: ',d' | ||
query_context: | ||
datasource: | ||
id: 73 | ||
type: table | ||
force: false | ||
form_data: | ||
adhoc_filters: | ||
- clause: WHERE | ||
comparator: No filter | ||
datasourceWarning: false | ||
expressionType: SIMPLE | ||
filterOptionName: filter_twlv610ia5j_lkobma5tha | ||
isExtra: false | ||
isNew: false | ||
operator: TEMPORAL_RANGE | ||
sqlExpression: null | ||
subject: emission_time | ||
- clause: WHERE | ||
comparator: registered | ||
datasourceWarning: false | ||
expressionType: SIMPLE | ||
filterOptionName: filter_pj8co397y3o_0b0rs0sh42o | ||
isExtra: false | ||
isNew: false | ||
operator: == | ||
operatorId: EQUALS | ||
sqlExpression: null | ||
subject: enrollment_status | ||
conditional_formatting: [] | ||
dashboards: | ||
- 6046 | ||
datasource: 73__table | ||
extra_form_data: {} | ||
force: false | ||
force_timestamp_formatting: false | ||
header_font_size: 0.5 | ||
metric: | ||
aggregate: null | ||
column: null | ||
datasourceWarning: false | ||
expressionType: SQL | ||
hasCustomLabel: true | ||
label: Enrolled Users | ||
optionName: metric_rv2dquu9awp_95ed6x24fj | ||
sqlExpression: count(distinct actor_id) | ||
result_format: json | ||
result_type: full | ||
slice_id: 3001 | ||
subheader: '' | ||
subheader_font_size: 0.2 | ||
time_format: smart_date | ||
viz_type: big_number_total | ||
y_axis_format: ',d' | ||
queries: | ||
- annotation_layers: [] | ||
applied_time_extras: {} | ||
columns: [] | ||
custom_form_data: {} | ||
custom_params: {} | ||
extras: | ||
having: '' | ||
where: '' | ||
filters: | ||
- col: emission_time | ||
op: TEMPORAL_RANGE | ||
val: No filter | ||
- col: enrollment_status | ||
op: == | ||
val: registered | ||
metrics: | ||
- aggregate: null | ||
column: null | ||
datasourceWarning: false | ||
expressionType: SQL | ||
hasCustomLabel: true | ||
label: Enrolled Users | ||
optionName: metric_rv2dquu9awp_95ed6x24fj | ||
sqlExpression: count(distinct actor_id) | ||
order_desc: true | ||
series_limit: 0 | ||
url_params: {} | ||
result_format: json | ||
result_type: full | ||
slice_name: Currently Registered Users | ||
uuid: 15620ae6-5452-4a11-bc7e-56c7e5987a4d | ||
version: 1.0.0 | ||
viz_type: big_number_total |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
...ts/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Total_Users.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.