forked from mozilla/bigquery-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdags.yaml
581 lines (524 loc) · 16 KB
/
dags.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
---
bqetl_error_aggregates:
schedule_interval: 3h
default_args:
owner: [email protected]
email:
[
]
start_date: "2019-11-01"
retries: 1
retry_delay: 20m
depends_on_past: false
bqetl_ssl_ratios:
schedule_interval: 0 2 * * *
description: The DAG schedules SSL ratios queries.
default_args:
owner: [email protected]
start_date: "2019-07-20"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_amo_stats:
schedule_interval: 0 3 * * *
# yamllint disable rule:line-length
description: |
Add-on download and install statistics to power the
[addons.mozilla.org](https://addons.mozilla.org) (AMO) stats pages.
See the [post on the Add-Ons Blog](https://blog.mozilla.org/addons/2020/06/10/improvements-to-statistics-processing-on-amo/).
# yamllint enable rule:line-length
default_args:
owner: [email protected]
start_date: "2020-06-01"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_vrbrowser:
schedule_interval: 0 2 * * *
description: |
Custom ETL based on Glean pings from Mozilla VR Browser.
default_args:
owner: [email protected]
start_date: "2019-07-25"
email:
[
]
retries: 1
retry_delay: 5m
bqetl_core:
schedule_interval: 0 2 * * *
description:
Tables derived from the legacy telemetry `core` ping sent by various
mobile applications.
default_args:
owner: [email protected]
start_date: "2019-07-25"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 5m
bqetl_nondesktop:
schedule_interval: 0 3 * * *
default_args:
owner: [email protected]
start_date: "2019-07-25"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 5m
bqetl_mobile_search:
schedule_interval: 0 2 * * *
default_args:
owner: [email protected]
start_date: "2019-07-25"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 5m
bqetl_fxa_events:
schedule_interval: 30 1 * * *
description: |
Copies data from a Firefox Accounts (FxA) project. Those source tables
are populated via Cloud Logging (Stackdriver). We hash various fields
as part of the import.
The DAG also provides daily aggregations on top of the raw log data,
which eventually power high-level reporting about FxA usage.
Tasks here have occasionally failed due to incompatible schema changes
in the tables populated by Cloud Logging.
See https://github.com/mozilla/bigquery-etl/issues/1684 for an example
mitigation.
default_args:
owner: [email protected]
start_date: "2019-03-01"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 10m
bqetl_subplat:
schedule_interval: 45 1 * * *
description: |
Daily imports for Subscription Platform data from Stripe and the Mozilla VPN
operational DB as well as derived tables based on that data.
Depends on `bqetl_fxa_events`, so is scheduled to run a bit after that.
default_args:
owner: [email protected]
start_date: "2021-07-20"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_mozilla_vpn_site_metrics:
schedule_interval: 0 15 * * *
description: |
Daily extracts from the Google Analytics tables for Mozilla VPN as well as
derived tables based on that data.
Depends on Google Analytics exports, which have highly variable timing, so
queries depend on site_metrics_empty_check_v1, which retries every 30
minutes to wait for data to be available.
default_args:
owner: [email protected]
start_date: "2021-04-22"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_gud:
schedule_interval: 0 3 * * *
description: Optimized tables that power the
[Mozilla Growth and Usage Dashboard](https://gud.telemetry.mozilla.org).
default_args:
owner: [email protected]
start_date: "2019-07-25"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 5m
bqetl_messaging_system:
schedule_interval: 0 2 * * *
description: |
Daily aggregations on top of pings sent for the `messaging_system`
namespace by desktop Firefox.
default_args:
owner: [email protected]
start_date: "2019-07-25"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 5m
bqetl_activity_stream:
schedule_interval: 0 2 * * *
description: |
Daily aggregations on top of pings sent for the `activity_stream`
namespace by desktop Firefox. These are largely related to activity
on the newtab page and engagement with Pocket content.
default_args:
owner: [email protected]
start_date: "2019-07-25"
email: ["[email protected]", "[email protected]"]
retries: 1
retry_delay: 5m
bqetl_search:
schedule_interval: 0 3 * * *
default_args:
owner: [email protected]
start_date: "2018-11-27"
email:
retries: 2
retry_delay: 30m
bqetl_addons:
schedule_interval: 0 4 * * *
description: |
Daily rollups of addon data from `main` pings.
Depends on `bqetl_search`, so is scheduled after that DAG.
default_args:
owner: [email protected]
start_date: "2018-11-27"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_devtools:
schedule_interval: 0 3 * * *
description: |
Summarizes usage of the Dev Tools component of desktop Firefox.
default_args:
owner: [email protected]
start_date: "2018-11-27"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_main_summary:
schedule_interval: 0 2 * * *
description: |
General-purpose derived tables for analyzing usage of desktop Firefox.
This is one of our highest-impact DAGs and should be handled carefully.
default_args:
owner: [email protected]
start_date: "2018-11-27"
email:
[
]
retries: 2
retry_delay: 30m
bqetl_experiments_daily:
schedule_interval: 0 3 * * *
description: |
The DAG schedules queries that query experimentation related
metrics (enrollments, search, ...) from stable tables to finalize
numbers of experiment monitoring datasets for a specific date.
default_args:
owner: [email protected]
start_date: "2018-11-27"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_document_sample:
schedule_interval: daily
default_args:
owner: [email protected]
start_date: "2020-02-17"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_asn_aggregates:
schedule_interval: 0 2 * * *
description: The DAG schedules ASN aggregates queries.
default_args:
owner: [email protected]
start_date: "2020-04-05"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
# DAG for exporting query data marked as public to GCS
# queries should not be explicitly assigned to this DAG (done automatically)
bqetl_public_data_json:
schedule_interval: 0 5 * * *
description: |
Daily exports of query data marked as public to GCS.
Depends on the results of several upstream DAGs, the latest of which
runs at 04:00 UTC.
default_args:
owner: [email protected]
start_date: "2020-04-14"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_internet_outages:
schedule_interval: 0 3 * * *
description: |
DAG for building the internet outages datasets.
See [bug 1640204](https://bugzilla.mozilla.org/show_bug.cgi?id=1640204).
default_args:
owner: [email protected]
start_date: "2020-01-01"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_deletion_request_volume:
schedule_interval: 0 1 * * *
default_args:
owner: [email protected]
start_date: "2020-06-29"
email: ["[email protected]", "[email protected]"]
retries: 2
retry_delay: 30m
bqetl_fenix_event_rollup:
schedule_interval: 0 2 * * *
default_args:
owner: [email protected]
start_date: "2020-09-09"
email: ["[email protected]"]
retries: 2
retry_delay: 30m
bqetl_org_mozilla_fenix_derived:
schedule_interval: 0 2 * * *
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: "2020-10-18"
bqetl_google_analytics_derived:
schedule_interval: 0 23 * * *
description: |
Daily aggregations of data exported from Google Analytics.
The GA export runs at 15:00 UTC, so there's an effective 2-day delay
for user activity to appear in these tables.
default_args:
owner: [email protected]
email: ["[email protected]"]
start_date: "2020-10-31"
retries: 2
retry_delay: 30m
bqetl_monitoring:
schedule_interval: 0 2 * * *
description: |
This DAG schedules queries and scripts for populating datasets
used for monitoring of the data platform.
default_args:
owner: [email protected]
email: ["[email protected]"]
start_date: "2018-10-30"
retries: 2
retry_delay: 30m
bqetl_event_rollup:
schedule_interval: 0 3 * * *
default_args:
owner: [email protected]
start_date: "2020-11-03"
email: ["[email protected]"]
retries: 2
retry_delay: 30m
bqetl_marketing_fetch:
schedule_interval: 0 1 * * 1
default_args:
owner: [email protected]
email: ["[email protected]"]
start_date: "2020-11-30"
retries: 2
retry_delay: 30m
bqetl_iprospect:
schedule_interval: 0 4 * * *
description: |
This DAG imports iProspect data from moz-fx-data-marketing-prod-iprospect.
depends_on_past: false
default_args:
owner: [email protected]
email: ["[email protected]"]
start_date: "2021-04-19"
retries: 2
retry_delay: 30m
bqetl_search_dashboard:
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: "2020-12-14"
schedule_interval: 0 4 * * *
bqetl_desktop_platform:
schedule_interval: 0 3 * * *
default_args:
owner: [email protected]
start_date: "2018-11-01"
email:
[
]
retries: 2
retry_delay: 30m
bqetl_internal_tooling:
description: |
This DAG schedules queries for populating queries related to Mozilla's
internal developer tooling (e.g. mozregression).
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
end_date: null
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: "2020-06-01"
schedule_interval: 0 4 * * *
bqetl_release_criteria:
schedule_interval: daily
default_args:
owner: [email protected]
start_date: "2020-12-03"
email:
retries: 2
retry_delay: 30m
bqetl_pocket:
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: "2021-03-10"
description: |
Import of data from Pocket's Snowflake warehouse.
Originally created for [Bug 1695336](
https://bugzilla.mozilla.org/show_bug.cgi?id=1695336).
schedule_interval: 0 12 * * *
bqetl_adm_engagements_daily:
schedule_interval: 0 4 * * *
description: adMarketplace engagement queries
default_args:
owner: [email protected]
start_date: "2020-01-01"
email: ["[email protected]"]
retries: 2
retry_delay: 30m
bqetl_desktop_funnel:
description: |
This DAG schedules desktop funnel queries used to power the
[Numbers that Matter dashboard](https://protosaur.dev/numbers-that-matter/)
schedule_interval: 0 4 * * *
default_args:
owner: [email protected]
start_date: "2021-01-01"
email:
[
]
retries: 2
retry_delay: 30m
bqetl_firefox_ios:
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
end_date: null
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: "2021-03-18"
description: Schedule daily ios firefox ETL
schedule_interval: 0 4 * * *
bqetl_releases:
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
end_date: null
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: "2021-04-14"
description: |
Schedule release data import from https://product-details.mozilla.org/1.0
For more context, see
https://wiki.mozilla.org/Release_Management/Product_details
schedule_interval: 0 4 * * *
bqetl_ctxsvc_derived:
default_args:
depends_on_past: false
email:
email_on_failure: true
email_on_retry: true
end_date: null
owner: [email protected]
retries: 2
retry_delay: 30m
start_date: '2021-05-01'
description: Contextual services derived tables
schedule_interval: 0 3 * * *
bqetl_app_store_connect:
schedule_interval: 0 20 * * *
description: |
Reports from Apple's App Store Connect API.
Reports are based on Pacific Standard Time (PST). A day includes
transactions that happened from 12:00 a.m. to 11:59 p.m. PST.
https://help.apple.com/app-store-connect/#/dev061699fdb
Daily reports for the Americas are available by 5 am Pacific Time, which can
be either 12:00 or 13:00 UTC, depending on Daylight Savings Time. Daily
reports for Japan, Australia, and New Zealand by 5 am Japan Standard Time;
and 5 am Central European Time for all other territories.
Based on [bug 1720767](https://bugzilla.mozilla.org/show_bug.cgi?id=1720767)
imports have been adjusted to 20:00 UTC.
default_args:
owner: [email protected]
start_date: "2021-01-15"
retries: 2
retry_delay: 30m
bqetl_experimenter_experiments_import:
schedule_interval: "*/10 * * * *"
description: |
Imports experiments from the Experimenter V4 and V6 API.
Imported experiment data is used for experiment monitoring in
[Grafana](https://grafana.telemetry.mozilla.org/d/XspgvdxZz/experiment-enrollment).
default_args:
owner: [email protected]
start_date: "2020-10-09"
retries: 0
email:
bqetl_feature_usage:
schedule_interval: 0 5 * * *
description: |
Daily aggregation of browser features usages from `main` pings,
`event` pings and addon data.
Depends on `bqetl_addons` and `bqetl_main_summary`, so is scheduled after.
default_args:
owner: [email protected]
start_date: "2021-01-01"
email:
retries: 2
retry_delay: 30m