Confirmed users
51
edits
m (→Telemetry) |
|||
Line 143: | Line 143: | ||
[[File:Gaia Architecture Proposal Telemetry.png]] | [[File:Gaia Architecture Proposal Telemetry.png]] | ||
Telemetry is a remote service, with real users | Telemetry is a remote service, with real users data reports. | ||
Those reports can then be used for decisions making. | Those reports can then be used for decisions making. | ||
Line 152: | Line 152: | ||
* Startup time per panel | * Startup time per panel | ||
** Each capsule has its own instance of the performance.timing API | ** Each capsule has its own instance of the performance.timing API | ||
*** Global | *** Global metrics such as precise details of what happens during the startup of a capsule | ||
*** Custom | *** Custom metrics defined via the various Performance interfaces [http://mxr.mozilla.org/mozilla-central/source/dom/webidl/Performance.webidl [1<nowiki>]</nowiki>] [http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute [2<nowiki>]</nowiki>] [http://www.w3.org/TR/resource-timing/#extensions-performance-interface [3<nowiki>]</nowiki>] [http://www.w3.org/TR/user-timing/ [4<nowiki>]</nowiki>] | ||
* about:memory per capsule | * about:memory per capsule | ||
** performance.memory API (chrome Only). But for now it still does not reports enough | ** performance.memory API (chrome Only). But for now it still does not reports enough metrics to us. Basically it reports only the JS Heap size, while additional data such as DOM, CSS, Images, ... consumptions would be valuable. | ||
* Lags | * Lags | ||
** Communication lags between capsule (See the [[#Bridge|Bridge]] section for more details) | ** Communication lags between capsule (See the [[#Bridge|Bridge]] section for more details) | ||
** Event loop lags (available in Gecko, need to find a way to expose it to our telemetry report). | ** Event loop lags (available in Gecko, need to find a way to expose it to our telemetry report). | ||
* Various other | * Various other data | ||
** Heatmap | ** Heatmap | ||
** How many times a capsule has been used | ** How many times a capsule has been used |