Граф коммитов

263 Коммитов

Автор SHA1 Сообщение Дата
Anna Scholtz 693cf80851
Fix date filtering in metric definition views (#921) 2024-03-19 15:43:59 -07:00
Anna Scholtz 8dec8e41cf
Aliase base fields (#904) 2024-03-04 13:05:16 -08:00
Anna Scholtz 76d0d5a55e
Add more metrics statistics (#896) 2024-03-04 10:46:59 -08:00
Ben Wu 5a2e28259c
[DENG-1908] Auto-import existing explores for new namespaces (#895) 2024-02-28 11:32:36 -05:00
Anna Scholtz 5e34f956ad
Glean ping explores with nested dimensions (#884) 2024-02-21 13:11:13 -08:00
Anna Scholtz fb68d9e03b
Update metric_definitions_view.py (#885)
* Update metric_definitions_view.py

* Update metric_definitions_view.py

* Update metric_definitions_view.py
2024-02-20 14:23:17 -08:00
Anna Scholtz a6b9eda0b3
Fix date filter in generated metric views (#883) 2024-02-20 10:27:22 -08:00
Winnie Chan 030ebbbf88
Changed datagroups to use table storage view (#875) 2024-02-15 09:44:06 -08:00
Anna Scholtz 244ec963e5
Generate per-datasource explores for metric definitions (#865)
* Generate per-datasource explores for metric definitions

* Combine clients daily views with metrics data sources

---------

Co-authored-by: Leli <33942105+lelilia@users.noreply.github.com>
2024-02-12 14:55:11 -08:00
Anna Scholtz 10b1bd1e52
Automatically generate explores for events stream tables (#873) 2024-02-12 11:31:15 -08:00
Arkadiusz Komarzewski b1b740e54b Fix handling firefox_desktop.desktop_installs 2024-01-18 18:34:02 +01:00
akkomar 8f400e4ecc
Fix handling event stream tables (#855)
Follow up to https://github.com/mozilla/lookml-generator/pull/854
2024-01-18 08:05:34 -08:00
Anna Scholtz 75e4302546
Fix handling event stream tables (#854) 2024-01-17 13:36:31 -08:00
Leli 3e524742c0
remove summed cards for group by (#823)
* remove summed cards for group by

* Remove spaces for pivots

---------

Co-authored-by: Anna Scholtz <anna@scholtzan.net>
2023-12-04 09:59:38 -08:00
Anna Scholtz 6810649279
COUNT(DISTINCT ${TABLE}.client_id) in client count views (#808) 2023-11-08 11:40:23 -08:00
Sean Rose d0fb3ac48e
Remove invalid link properties from datetime metric dimension groups in Glean ping views. (#807) 2023-11-08 11:27:54 -08:00
Sean Rose 412675f8fc
Generate time dimension groups for datetime metrics in Glean ping views (#806)
* Generate time dimension groups for datetime metrics in Glean ping views.

  This should have been done when we changed the Glean ping views to convert datetime metrics to timestamps (mozilla/bigquery-etl#3453).
2023-11-08 10:04:51 -08:00
Anna Scholtz 88604bd81b
Metric definition explores ignore have_completed_period field (#785) 2023-10-17 15:06:35 -07:00
Anna Scholtz facc562426
Use Client Counts view as basis for metric definition views (#776) 2023-10-12 13:51:08 -07:00
Anna Scholtz 0f59b880eb
Fix metrics definition generation order (#756) 2023-09-12 11:21:23 -07:00
Anna Scholtz 8498f23130
Use clients_daily views as base for metric definition explores (#753) 2023-09-11 14:49:02 -07:00
Anna Scholtz 10d8577c55
Metric hub integration (#740)
* Update to Python 3.10

* Generate metric-hub namespaces

* Generate namespaces for metric hub metrics data sources

* Generate metric hub views

* Generate metric hub explores

* Add command line option to set metric hub repo

* Use client_counts views as basis for metric definition explores
2023-09-08 12:09:06 -07:00
Sean Rose d709beaa32
Use Looker API 4.0 (#749)
Looker API 3.1 has been disabled by Looker.
2023-09-07 12:04:02 -07:00
Chris H-C 2cc9076284
bug 1843406 - Only display the configured x-axis column in alert grid, for tidiness (#746) 2023-09-06 14:27:40 -07:00
Anna Scholtz 2d15382425
Update to Python 3.10 (#736)
* Update to Python 3.10

* Review comments
2023-08-29 15:41:51 -07:00
Alexander 65ec74a59a
Move includes in spoke model generation to footer comment. (#689)
* Move includes in spoke model generation to header comment.
* Changed to footer
2023-06-08 12:38:20 -04:00
Sean Rose 149e733f8d
Allow `table_view` measures to be defined in `custom-namespaces.yaml` (#686) 2023-06-05 15:35:24 -07:00
Sean Rose e89ccc8dc1
Add `table_explore` explore type (#682) 2023-06-05 08:59:20 -07:00
Jan-Erik Rediger 0512c47840 Fix suggestion filter: Only take existing values 2023-06-05 15:29:45 +02:00
Jan-Erik Rediger dd756e470f Use a channel filter instead of a parameter switching out the table
The parameter switched out the underlying table to be queried.
However we now have UNIONed tables for every variant of an application,
making the first table contain data from all channels.
Instead we now filter by `normalized_channel` and enforce that filter in explores.
2023-06-05 11:08:29 +02:00
Frank Bertsch a6bdaeb488 Cast INTERVAL to int for cohort analyses
Also add a space after periods, for prettier viewing in Looker.
2023-06-02 13:57:27 -04:00
Alexander 80ea07a19f
Modified datagroup generation to write to datagroups directory (#627) 2023-02-23 11:31:14 -05:00
Alexander 96b2df7e9c
Remove interval trigger from datagroup generation entirely (#623)
* Remove interval trigger from datagroup
* Removed unused import
2023-02-22 11:42:43 -05:00
Alexander d1f4bdd37a
Fix unquoted subparameter (#621) 2023-02-22 09:57:41 -05:00
Alexander d4115ca8dd
Only generate one datagroup per-table (#620) 2023-02-21 14:49:25 -05:00
Alexander f2cfe9e7e5
Generate datagroups.lkml (#615)
* Moved bigquery view references map to utils for use in multiple places
* Create datagroup generator script
* Added tests
* Formatting: update type reference to include dataset dict
2023-02-21 13:15:50 -05:00
Sean Rose 4571d53fec
Avoid repeating the same table multiple times for a view (DENG-690). (#617)
The same table was being repeated for a view if the Glean app had multiple release channels, which the `mozilla_vpn` app currently does.  This resulted in unnecessary `channel` parameters being added to all the affected views.
2023-02-16 15:27:22 -08:00
Daniel Thorn 09cdf4c404
Merge custom namespaces even when opmon isn't configured (#589)
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
2023-02-15 09:39:48 -08:00
Anna Scholtz 93d723a28c
Support multiple client count views in a single namespace (#559) 2022-11-08 14:05:28 -08:00
Daniel Thorn 38a84cb1e6
Ignore glean probes not present in table schema (#558) 2022-11-08 10:18:52 -08:00
Daniel Thorn d9c8abbf67
Speed up lookml-generator namespaces (#556)
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
2022-11-07 15:03:03 -08:00
Anna Scholtz b4ea97961f
OpMon metric groups with different statistics (#555) 2022-11-04 10:16:53 -07:00
Daniel Thorn 339fb65434
Fix deprecation warning for relocated import (#554) 2022-11-04 09:24:53 -07:00
dependabot[bot] c3db0820ec
Bump lkml from 1.2.0 to 1.3.1 (#548) 2022-11-03 11:09:16 -07:00
Daniel Thorn 61b205c58f
Remove workaround for probeinfo always returning gzip (#553) 2022-11-02 13:43:44 -07:00
Anna Scholtz ca133d850d
Add support for metric groups (#551) 2022-10-31 13:03:39 -07:00
Jan-Erik Rediger 79384ba153 Allow 3 more Glean metric types 2022-10-19 16:17:23 +02:00
Jan-Erik Rediger ff647cd645 Reference url metrics under their other name (`url2`) in generated views
Fixes #539
2022-10-19 16:17:23 +02:00
Daniel Thorn 3d77a59b16
Add date filter to opmon dashboards (#537) 2022-10-12 09:03:00 -07:00
Anna Scholtz f16af32d27
Improve opmon alerts table (#531) 2022-09-23 12:04:55 -07:00