Add caching via datagroups for Fenix and Firefox iOS events_unnested
This commit is contained in:
Родитель
b5663b8385
Коммит
e6a34038e0
|
@ -0,0 +1,10 @@
|
|||
datagroup: events_unnested_v1_last_updated {
|
||||
label: "Events Unnested Last Updated"
|
||||
# stable tables get populated around the same time (copy_deduplicate), so checking the release channel table for changes should be enough.
|
||||
sql_trigger: SELECT MAX(storage_last_modified_time)
|
||||
FROM `moz-fx-data-shared-prod`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
|
||||
WHERE table_schema = 'org_mozilla_firefox_stable'
|
||||
AND table_name = 'events_v1' ;;
|
||||
description: "Updates when moz-fx-data-shared-prod.org_mozilla_firefox_stable.events_v1 is modified."
|
||||
max_cache_age: "24 hours"
|
||||
}
|
|
@ -2,6 +2,7 @@ connection: "telemetry"
|
|||
label: "Firefox for Android"
|
||||
include: "//looker-hub/fenix/explores/*"
|
||||
include: "explores/*"
|
||||
include: "datagroups/*"
|
||||
|
||||
include: "//looker-hub/fenix/views/metrics.view.lkml"
|
||||
include: "/fenix/views/android_store_performance.view.lkml"
|
||||
|
@ -54,3 +55,8 @@ view: +metrics {
|
|||
explore: android_store_performance {
|
||||
sql_always_where: ${period_filtered_measures} in ("this", "last");;
|
||||
}
|
||||
|
||||
# temporary datagroup until this gets generated
|
||||
explore: +events_unnested {
|
||||
persist_with: events_unnested_v1_last_updated
|
||||
}
|
||||
|
|
|
@ -238,8 +238,6 @@ explore: desktop_daily_retention {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
view: +metrics {
|
||||
dimension: client_info__build_date_datetime {
|
||||
label: "Build Date (Datetime)"
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
datagroup: events_unnested_v1_last_updated {
|
||||
label: "Events Unnested Last Updated"
|
||||
# stable tables get populated around the same time (copy_deduplicate), so checking the release channel table for changes should be enough.
|
||||
sql_trigger: SELECT MAX(storage_last_modified_time)
|
||||
FROM `moz-fx-data-shared-prod`.`region-us`.INFORMATION_SCHEMA.TABLE_STORAGE
|
||||
WHERE table_schema = 'org_mozilla_ios_firefox_stable'
|
||||
AND table_name = 'events_v1' ;;
|
||||
description: "Updates when moz-fx-data-shared-prod.org_mozilla_ios_firefox_stable.events_v1 is modified."
|
||||
max_cache_age: "24 hours"
|
||||
}
|
|
@ -110,6 +110,7 @@ include: "views/metrics_counters.view.lkml"
|
|||
include: "views/usage.view.lkml"
|
||||
include: "dashboards/*.dashboard"
|
||||
include: "explores/*"
|
||||
include: "datagroups/*"
|
||||
|
||||
explore: usage {
|
||||
always_filter: {
|
||||
|
@ -198,3 +199,7 @@ explore: +client_counts {
|
|||
explore: app_store_funnel_table {
|
||||
sql_always_where: ${period_filtered_measures} in ("this", "last");;
|
||||
}
|
||||
|
||||
explore: +events_unnested {
|
||||
persist_with: events_unnested_v1_last_updated
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ include: "views/funnel_analysis/event_types.view.lkml"
|
|||
include: "views/funnel_analysis/funnel_analysis.view.lkml"
|
||||
include: "views/event_type.view.lkml"
|
||||
include: "views/raw_event_types.view.lkml"
|
||||
include: "//looker-hub/firefox_desktop/datagroups/onboarding_v2_last_updated.datagroup.lkml"
|
||||
|
||||
explore: funnel_analysis {
|
||||
view_label: " User-Day Funnels"
|
||||
|
@ -189,6 +190,7 @@ explore: cohort_analysis {
|
|||
|
||||
explore: event_counts {
|
||||
from: onboarding_v1
|
||||
persist_with: onboarding_v2_last_updated
|
||||
|
||||
join: onboarding_v1__experiments {
|
||||
type: cross
|
||||
|
|
Загрузка…
Ссылка в новой задаче