{"id":300,"date":"2021-06-02T16:16:07","date_gmt":"2021-06-02T16:16:07","guid":{"rendered":"https:\/\/blog.mozilla.org\/data\/?p=300"},"modified":"2021-06-02T16:16:07","modified_gmt":"2021-06-02T16:16:07","slug":"this-week-in-glean-glean-dictionary-updates","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/data\/2021\/06\/02\/this-week-in-glean-glean-dictionary-updates\/","title":{"rendered":"This week in Glean: Glean Dictionary updates"},"content":{"rendered":"<p>(\u201cThis Week in Glean\u201d is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.) All \u201cThis Week in Glean\u201d blog posts are listed in the <a href=\"https:\/\/mozilla.github.io\/glean\/book\/appendix\/twig.html\">TWiG index<\/a> (and on the <a href=\"https:\/\/blog.mozilla.org\/data\/category\/glean\/\">Mozilla Data blog<\/a>).<\/p>\n<p class=\"part\" data-startline=\"3\" data-endline=\"3\" data-position=\"28\" data-size=\"0\"><span class=\"ui-comment-inline-span\" data-position=\"29\" data-size=\"178\" data-inline-comment-id=\"user-selection-highlight\">Lots of progress on the Glean Dictionary since I made the <a href=\"https:\/\/blog.mozilla.org\/data\/2021\/01\/27\/this-week-in-glean-the-glean-dictionary\/\">initial release announcement<\/a> a couple of months ago. For those coming in late, the Glean Dictionary is intended to be a <\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_dictionary\" target=\"_blank\" rel=\"noopener\"><span class=\"ui-comment-inline-span\" data-position=\"207\" data-size=\"15\" data-inline-comment-id=\"user-selection-highlight\">data dictionary<\/span><\/a><span class=\"ui-comment-inline-span\" data-position=\"271\" data-size=\"34\" data-inline-comment-id=\"user-selection-highlight\"> for applications built using the <\/span><a href=\"https:\/\/mozilla.github.io\/glean\" target=\"_blank\" rel=\"noopener\"><span class=\"ui-comment-inline-span\" data-position=\"305\" data-size=\"9\" data-inline-comment-id=\"user-selection-highlight\">Glean SDK<\/span><\/a><span class=\"ui-comment-inline-span\" data-position=\"349\" data-size=\"5\" data-inline-comment-id=\"user-selection-highlight\"> and <\/span><a href=\"https:\/\/github.com\/mozilla\/glean.js\/\" target=\"_blank\" rel=\"noopener\"><span class=\"ui-comment-inline-span\" data-position=\"354\" data-size=\"8\" data-inline-comment-id=\"user-selection-highlight\">Glean.js<\/span><\/a><span class=\"ui-comment-inline-span\" data-position=\"402\" data-size=\"97\" data-inline-comment-id=\"user-selection-highlight\">. This currently includes Firefox for Android and Firefox iOS, as well as newer initiatives like <\/span><a href=\"https:\/\/rally.mozilla.org\" target=\"_blank\" rel=\"noopener\"><span class=\"ui-comment-inline-span\" data-position=\"499\" data-size=\"5\" data-inline-comment-id=\"user-selection-highlight\">Rally<\/span><\/a><span class=\"ui-comment-inline-span\" data-position=\"532\" data-size=\"18\" data-inline-comment-id=\"user-selection-highlight\">. Desktop Firefox <\/span><em data-position=\"550\" data-size=\"0\"><span class=\"ui-comment-inline-span\" data-position=\"551\" data-size=\"4\" data-inline-comment-id=\"user-selection-highlight\">will<\/span><\/em><span class=\"ui-comment-inline-span\" data-position=\"557\" data-size=\"30\" data-inline-comment-id=\"user-selection-highlight\"> use Glean in the future, see <\/span><a href=\"https:\/\/firefox-source-docs.mozilla.org\/toolkit\/components\/glean\/index.html\" target=\"_blank\" rel=\"noopener\"><span class=\"ui-comment-inline-span\" data-position=\"587\" data-size=\"22\" data-inline-comment-id=\"user-selection-highlight\">Firefox on Glean (FoG)<\/span><\/a><span class=\"ui-comment-inline-span\" data-position=\"687\" data-size=\"1\" data-inline-comment-id=\"user-selection-highlight\">.<\/span><\/p>\n<h2 id=\"Production-URL\" class=\"part\" data-startline=\"5\" data-endline=\"5\" data-id=\"Production-URL\"><span data-position=\"694\" data-size=\"14\">Production URL<\/span><\/h2>\n<p class=\"part\" data-startline=\"7\" data-endline=\"7\" data-position=\"710\" data-size=\"0\"><span data-position=\"711\" data-size=\"64\">We\u2019re in production! You can now access the Glean Dictionary at <\/span><a href=\"https:\/\/dictionary.telemetry.mozilla.org\" target=\"_blank\" rel=\"noopener\"><span data-position=\"775\" data-size=\"32\">dictionary.telemetry.mozilla.org<\/span><\/a><span data-position=\"850\" data-size=\"44\">. The old protosaur-based URL will redirect.<\/span><\/p>\n<h2 id=\"Glean-Dictionary--Looker--\u2764\ufe0f\" class=\"part\" data-startline=\"9\" data-endline=\"9\" data-id=\"Glean-Dictionary--Looker--\u2764\ufe0f\"><span data-position=\"899\" data-size=\"30\">Glean Dictionary + Looker = \u2764\ufe0f<\/span><\/h2>\n<p class=\"part\" data-startline=\"11\" data-endline=\"11\" data-position=\"931\" data-size=\"0\"><span data-position=\"932\" data-size=\"39\">At the end of last year, Mozilla chose <\/span><a href=\"https:\/\/looker.com\" target=\"_blank\" rel=\"noopener\"><span data-position=\"971\" data-size=\"6\">Looker<\/span><\/a><span data-position=\"998\" data-size=\"381\"> as our internal business intelligence tool. Frank Bertsch, Daniel Thorn, Anthony Miyaguchi and others have been building out first class support for Glean applications inside this platform, and we\u2019re starting to see these efforts bear fruit. Looker\u2019s explores are far easier to use for basic data questions, opening up data based inquiry to a much larger cross section of Mozilla.<\/span><\/p>\n<p class=\"part\" data-startline=\"13\" data-endline=\"13\" data-position=\"1381\" data-size=\"0\"><span data-position=\"1381\" data-size=\"52\">I recorded a quick example of this integration here:<\/span><\/p>\n<p><iframe loading=\"lazy\" class=\"\" src=\"https:\/\/www.youtube.com\/embed\/B635wgZy7Iw\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p class=\"part\" data-startline=\"17\" data-endline=\"17\" data-position=\"1685\" data-size=\"0\"><span data-position=\"1686\" data-size=\"96\">Note that Looker access is restricted to Mozilla employees and NDA\u2019d volunteers. Stay tuned for <\/span><a href=\"https:\/\/docs.telemetry.mozilla.org\/cookbooks\/public_data.html\" target=\"_blank\" rel=\"noopener\"><span data-position=\"1782\" data-size=\"16\">more public data<\/span><\/a><span data-position=\"1862\" data-size=\"57\"> to be indexed inside the Glean Dictionary in the future.<\/span><\/p>\n<h2 id=\"Glean-annotations\" class=\"part\" data-startline=\"19\" data-endline=\"19\" data-id=\"Glean-annotations\"><span data-position=\"1573\" data-size=\"18\">Glean annotations!<\/span><\/h2>\n<p class=\"part\" data-startline=\"21\" data-endline=\"21\" data-position=\"1944\" data-size=\"0\"><span data-position=\"1593\" data-size=\"214\">I did up the first cut of a GitHub-based system for adding annotations to metrics \u2013 acting as a knowledge base for things data scientists and others have discovered about Glean Telemetry in the field. This can be <\/span><em data-position=\"1807\" data-size=\"0\"><span data-position=\"1808\" data-size=\"10\">invaluable<\/span><\/em><span data-position=\"1820\" data-size=\"81\"> when doing new analysis. A good example of this is the annotation added for the <\/span><a href=\"https:\/\/dictionary.telemetry.mozilla.org\/apps\/firefox_ios\/metrics\/app_opened_as_default_browser\" target=\"_blank\" rel=\"noopener\"><span data-position=\"1901\" data-size=\"25\">opened as default browser<\/span><\/a><span data-position=\"2024\" data-size=\"55\"> metric for Firefox for iOS, which has several gotchas:<\/span><\/p>\n<p class=\"part\" data-startline=\"23\" data-endline=\"23\" data-position=\"2432\" data-size=\"0\"><img decoding=\"async\" class=\"\" src=\"https:\/\/i.imgur.com\/4lV3pU3.png\" alt=\"\" data-position=\"2081\" data-size=\"36\" \/><\/p>\n<p class=\"part\" data-startline=\"25\" data-endline=\"25\" data-position=\"2470\" data-size=\"0\"><span data-position=\"2249\" data-size=\"286\">Many thanks to Krupa Raj and Leif Oines for producing the requirements which led up to this implementation, as well as their evangelism of this work more generally inside Mozilla. Last month, Leif and I did a presentation about this at Data Club, which has been syndicated onto YouTube:<\/span><\/p>\n<p><iframe loading=\"lazy\" class=\"\" src=\"https:\/\/www.youtube.com\/embed\/aGjrXhXNRq8\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p class=\"part\" data-startline=\"29\" data-endline=\"29\" data-position=\"3008\" data-size=\"0\"><span data-position=\"2788\" data-size=\"178\">Since then, we\u2019ve had a very successful working session with some people Data Science and have started to fill out an initial set of annotations. You can see the progress in the <\/span><a href=\"https:\/\/github.com\/mozilla\/glean-annotations\" target=\"_blank\" rel=\"noopener\"><span data-position=\"2966\" data-size=\"17\">glean-annotations<\/span><\/a><span data-position=\"3030\" data-size=\"12\"> repository.<\/span><\/p>\n<h2 id=\"Other-Improvements\" class=\"part\" data-startline=\"31\" data-endline=\"31\" data-id=\"Other-Improvements\"><span data-position=\"2756\" data-size=\"18\">Other Improvements<\/span><\/h2>\n<p class=\"part\" data-startline=\"33\" data-endline=\"33\" data-position=\"3288\" data-size=\"0\"><span data-position=\"2777\" data-size=\"119\">Lots more miscellaneous improvements and fixes have gone into the Glean Dictionary in the last several months: see our <\/span><a href=\"https:\/\/github.com\/mozilla\/glean-dictionary\/releases\" target=\"_blank\" rel=\"noopener\"><span data-position=\"2896\" data-size=\"8\">releases<\/span><\/a><span data-position=\"2960\" data-size=\"65\"> for a full list. One thing that irrationally pleases me are the <\/span><a href=\"https:\/\/github.com\/mozilla\/glean-dictionary\/pull\/626\" target=\"_blank\" rel=\"noopener\"><span data-position=\"3025\" data-size=\"38\">new labels Linh Nguyen added last week<\/span><\/a><span data-position=\"3118\" data-size=\"93\">: colorful and lively, they make it easy to see when a Glean Metric is coming from a library:<\/span><\/p>\n<p class=\"part in-view\" data-startline=\"35\" data-endline=\"35\" data-position=\"3725\" data-size=\"0\"><img decoding=\"async\" class=\"\" src=\"https:\/\/i.imgur.com\/MC6uppY.png\" alt=\"\" data-position=\"3213\" data-size=\"36\" \/><\/p>\n<div id=\"doc\" class=\"markdown-body container-fluid comment-inner comment-enabled\" data-hard-breaks=\"true\">\n<h2 id=\"Future-work\" class=\"part in-view\" data-endline=\"37\" data-startline=\"37\" data-id=\"Future-work\"><span data-position=\"3545\" data-size=\"11\">Future work<\/span><\/h2>\n<p class=\"part in-view\" data-startline=\"39\" data-endline=\"39\" data-position=\"3779\" data-size=\"0\"><span data-position=\"3740\" data-size=\"91\">The Glean Dictionary is just getting started! In the next couple of weeks, we\u2019re hoping to:<\/span><\/p>\n<ul class=\"part in-view\" data-startline=\"41\" data-endline=\"44\">\n<li class=\"\" data-startline=\"41\" data-endline=\"41\" data-position=\"3874\" data-size=\"0\"><span data-position=\"3835\" data-size=\"77\">Expand the Looker integration outlined above, as our deploy takes more shape.<\/span><\/li>\n<li class=\"\" data-startline=\"42\" data-endline=\"42\" data-position=\"3954\" data-size=\"0\"><span data-position=\"3915\" data-size=\"258\">Work on adding \u201cfeature\u201d classification to the Glean Dictionary, to make it easier for product managers and other non-engineering types to quickly find the metrics and other information they need without needing to fully understand what\u2019s in the source tree.<\/span><\/li>\n<li class=\"\" data-startline=\"43\" data-endline=\"44\" data-position=\"4215\" data-size=\"0\"><span data-position=\"4176\" data-size=\"122\">Continue to refine the user interface of the Glean Dictionary as we get more feedback from people using it across Mozilla.<\/span><\/li>\n<\/ul>\n<p class=\"part in-view\" data-startline=\"45\" data-endline=\"45\" data-position=\"4339\" data-size=\"0\"><span data-position=\"4340\" data-size=\"144\">If you\u2019re interested in getting involved, join us! The Glean Dictionary is developed in the open using cutting edge front-end technologies like <\/span><a href=\"https:\/\/svelte.dev\" target=\"_blank\" rel=\"noopener\"><span data-position=\"4484\" data-size=\"6\">Svelte<\/span><\/a><span data-position=\"4512\" data-size=\"173\">. Our conviction is that being transparent about the data Mozilla collects helps us build trust with our users and the community. We\u2019re a friendly group and hang out on the <\/span><a href=\"https:\/\/chat.mozilla.org\/#\/room\/#glean-dictionary:mozilla.org\" target=\"_blank\" rel=\"noopener\"><span data-position=\"4685\" data-size=\"25\">#glean-dictionary channel<\/span><\/a><span data-position=\"4774\" data-size=\"11\"> on Matrix.<\/span><\/p>\n<\/div>\n<div class=\"fbc-badge js-fbc-UID_1 fbc-badge-small\">\n<div class=\"fbc-badge-fence\"><\/div>\n<\/div>\n<div class=\"ReactModalPortal\"><\/div>\n<div class=\"ReactModalPortal\"><\/div>\n<div class=\"ReactModalPortal\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>(\u201cThis Week in Glean\u201d is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/data\/2021\/06\/02\/this-week-in-glean-glean-dictionary-updates\/\">Read more<\/a><\/p>\n","protected":false},"author":1528,"featured_media":301,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[448297],"tags":[],"coauthors":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/posts\/300"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/users\/1528"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/media\/301"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/tags?post=300"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/data\/wp-json\/wp\/v2\/coauthors?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}