Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335649 - Review pluggability of the usage data collector
Summary: Review pluggability of the usage data collector
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthew Piggott CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 23:44 EST by Pascal Rapicault CLA
Modified: 2021-04-19 13:25 EDT (History)
0 users

See Also:


Attachments
Pom Import UDC Monitor (68.26 KB, patch)
2011-02-07 16:06 EST, Matthew Piggott CLA
no flags Details | Diff
UDC Monitor for Pom Imports (68.35 KB, patch)
2011-02-08 10:22 EST, Matthew Piggott CLA
no flags Details | Diff
Monitor Pom Imports (39.60 KB, patch)
2011-02-08 11:14 EST, Matthew Piggott CLA
pascal: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-01-27 23:44:30 EST
As we are looking for ways to figure what ppl are doing with m2e. Matt thought that we could try to gather stats about the plugins being used in the poms from the workspace and send that along with the data collected by the UDC.
Comment 1 Matthew Piggott CLA 2011-02-07 16:06:08 EST
Created attachment 188476 [details]
Pom Import UDC Monitor

This is a potential patch to add a monitor which listens for Add events from the m2e ProjectRegistry, then collects the package type and the MojoExecutionKeys.  The other approach would be to periodically take a snapshot of the the projects in the workspace which might provide us with a better idea about what projects that are used more frequently (or at least in a frequently used workspace).

The UDC uses a csv file, the two types of events generated by this monitor look like this:
sign,m2e.plugins,org.apache.maven.plugins:maven-jarsigner-plugin,1.2,"package",1297110506217

m2e.packaging,m2e.packaging,org.eclipse.m2e.core,0.13.0,"eclipse-plugin",1297110534983

For logging to the Foundation we probably need to change the plugins log as it will be filtered by the server, unfortunately this means putting multiple fields from MojoExecutionKey into a single cell. Perhaps we don't care about some fields individually?  (It appears I have missed including the goal)
Comment 2 Matthew Piggott CLA 2011-02-08 10:22:09 EST
Created attachment 188523 [details]
UDC Monitor for Pom Imports
Comment 3 Matthew Piggott CLA 2011-02-08 11:14:01 EST
Created attachment 188531 [details]
Monitor Pom Imports

Missed a hunk
Comment 4 Denis Roy CLA 2021-04-19 13:25:30 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/