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

Bug 337227

Summary: [api] add a download counter URL to the connector discovery
Product: z_Archived Reporter: Wesley Coelho <wesley.coelho>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: robert.munteanu
Version: unspecified   
Target Milestone: 3.5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Wesley Coelho CLA 2011-02-15 11:15:40 EST
It's currently difficult to determine how many downloads are being initiated from the Connector Discovery. It would be ideal if each Connector Discovery entry had an additional URL that was visited during the installation process so installs could be counted using web statistics/analytics.
Comment 1 Steffen Pingel CLA 2011-03-08 22:02:33 EST
The extension point now has a statsUrl field that may optionally specifies a URL that retrieved when finish or cancel is pressed in the p2 install wizard. The request includes a couple of system properties for statistical purposes based on what Mylyn includes in the standard user agent. Here is an example:

HEAD /stats/?id=org.eclipse.mylyn.trac&discovery=3.5.0&product=org.eclipse.sdk.ide&buildId=I20110127-2034&os=linux&arch=x86&ws=gtk&nl=en_CA
Comment 2 Steffen Pingel CLA 2011-03-08 22:02:35 EST
Created attachment 190722 [details]
mylyn/context/zip
Comment 3 Robert Munteanu CLA 2011-03-09 02:57:03 EST
Is this a per-connector statusUrl or will the statistics be gathered on Eclipse infrastructure?
Comment 4 Steffen Pingel CLA 2011-03-09 16:41:11 EST
Yes, tracking is per connector (discovery entry). I haven't filled in the field for the Eclipse.org discovery jar but we could consider it and collecting stats on Eclipse.org. Please feel free to open a bug if you are interested in that.
Comment 5 Robert Munteanu CLA 2011-03-09 17:50:49 EST
Thanks. Filed bug #339445 .