| Summary: | Review pluggability of the usage data collector | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Pascal Rapicault <pascal> | ||||||||
| Component: | m2e | Assignee: | Matthew Piggott <matthew> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Pascal Rapicault
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)
Created attachment 188523 [details]
UDC Monitor for Pom Imports
Created attachment 188531 [details]
Monitor Pom Imports
Missed a hunk
|