Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 462279

Summary: Hook up metrics in the JS tooling to see how the tools are being used
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, grant_gayed, Mike_Wilson
Version: 8.0   
Target Milestone: 9.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 462878    
Bug Blocks:    

Description Michael Rennie CLA 2015-03-16 15:13:20 EDT
We should be collecting metrics for a variety of the tooling, like:

1. content assist usage
2. parsing times
3. inferencing times
4. preference changes / customization
5. hovers / kinds / activations
6. occurrences
Comment 1 Michael Rennie CLA 2015-03-18 13:32:02 EDT
Timing metrics have been added for parsing in JS, CSS and HTML:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=8c1cab1655a31b81672c45b75b314444927bee2a

I updated to the wiki to mention the new category and variables:

https://wiki.eclipse.org/Orion/Metrics
Comment 2 Michael Rennie CLA 2015-03-18 15:59:12 EDT
Hooked up validation metrics:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9b1d5bc2fe9bd4215799c49273de3c0f2e9e4ceb

Added a new var 'validation' and updated the wiki.
Comment 3 Michael Rennie CLA 2015-03-23 13:15:19 EDT
There seems to be something funky with the metrics plugin, where it is being re-initialized when the JS plugin loads, I opened bug 462878 for it.

The sad part is that we have not been collecting metrics over the last week :(
Comment 4 Michael Rennie CLA 2015-03-25 11:52:32 EDT
Pushed a change to generalize the validation timing label:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=a2c4c88a833b9b693ef4ef57e8ec85f4177ce9e3

Now that the metrics are working and we are getting some data, I'm going to close this. Any other issues, tweaks or new metrics to add can be done in their own bugs.