-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add POC support for Google's WebFeatures Baseline
- Loading branch information
Showing
8 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
data-cache/recent_useragentversion_useragentfamily_devicetype.json
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
data-output/recent_useragentversion_useragentfamily_devicetype.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
20 changes: 20 additions & 0 deletions
20
queries/recent_useragentversion_useragentfamily_devicetype.jsonl
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,20 @@ | ||
{ | ||
"description": "Single day version of useragentversion_useragentfamily_devicetype to more easily support WebFeatures Baseline overviews", | ||
"datetype": "recent_day", | ||
"processingtype": "groupedMetricPerDevice", | ||
"extractmetric": "version", | ||
"groupby": "family", | ||
"comments": "We exclude null values here due to the already high cardinality of results. We manually select the 'interesting' user agents for the same reason.", | ||
"sql": " | ||
SELECT DATE as date, | ||
USERAGENTVERSION as version, | ||
USERAGENTFAMILY as family, | ||
DEVICETYPE as device, | ||
COUNT(*) as rowcount, | ||
SUM(BEACONS) as beaconcount | ||
FROM `akamai-mpulse-rumarchive.rumarchive.rumarchive_page_loads` | ||
WHERE DEVICETYPE IS NOT NULL and USERAGENTFAMILY IS NOT NULL AND USERAGENTVERSION IS NOT NULL AND {{DATES}} | ||
AND USERAGENTFAMILY in ('Chrome', 'Chrome Mobile', 'Chrome Mobile WebView', 'Chrome Mobile iOS', 'Safari', 'Mobile Safari', 'Mobile Safari UI/WKWebView', 'Edge', 'Facebook', 'Firefox', 'Firefox Mobile', 'Opera', 'Opera Mini', 'Samsung Internet', 'Instagram') | ||
GROUP BY DATE, DEVICETYPE, USERAGENTFAMILY, USERAGENTVERSION | ||
ORDER BY DATE ASC, DEVICETYPE ASC, USERAGENTFAMILY ASC, beaconcount DESC" | ||
} |
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