User:Polvi/InstrumentationServer:RequirementsV01: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
The client config is provided by the server. An opportunity to reconfigure the client happens every time the extension uploads data. This gives us the opportunity to scale up or down (or turn off completely) any data sent to us by reconfiguring the extension on the fly.  
The client config is provided by the server. An opportunity to reconfigure the client happens every time the extension uploads data. This gives us the opportunity to scale up or down (or turn off completely) any data sent to us by reconfiguring the extension on the fly.  


* prepare a config upon upload
* CONF-01 - respond with a config upon upload conforming to [http://mxr.mozilla.org/seamonkey/source/extensions/metrics/src/nsMetricsService.cpp#667 how the extension handles responses]
* allow different configs for various samples of uploading clients
* CONF-02 - allow different configs for various samples of uploading clients
 
= GUID =
The metrics extension sends a header with a client ID specifying a unique extension install.
* Correlate unique extension installs to data using the  [[Browser_Metrics:Data_Collection_Service#Client_ID|Client ID]]


= Backend =
= Backend =
Be able to handle uicommand XML data.
Take uicommand event stream and put it in to an aggregate database, query-able over date ranges.  


* Serialize XML into a scalable database ([https://bugzilla.mozilla.org/show_bug.cgi?id=399869#c3 example data])
* BACK-01 Store uicommand XML stream into aggregate query-able database. ([https://bugzilla.mozilla.org/show_bug.cgi?id=399869#c3 example data])


= Frontend =
= Frontend =
* Show cronological event stream based on guid (ex: guid XYZ clicked the back button, then opened a new tab, then bookmarked)
* FRONT-01 - Show aggregate [[Browser_Metrics:Data_Collectors#UI_Event|uicommands]] over a daterange (ex: sorted list of uicommands by X users on October 17th, 2007)
* Show aggregate [[Browser_Metrics:Data_Collectors#UI_Event|uicommands]] over a specific time (ex: 3000 back button clicks for 100 users on October 17th, 2007)


= API =
= API =
* Query frontend information via API and have results represented in XML
* No api requirements for V01
334

edits