Hi all,

I've opened a PR [1] to add anonymous user analytics to Blue Ocean. I want 
to use this data to help me understand what the usage patterns of Blue 
Ocean are. Many open source tools have this kind of anonymous analytics 
reporting - Docker and Homebrew to name a few. It's used for to help figure 
out where users are struggling and what enhancements we can make to help 
users.

For example, we would like to know what the success rate of the pipeline 
creation process is. We would track events for each stage in the creation 
flow and we can then use a funnel analysis [2] to see what step users drop 
off (e.g. where we have failed). Another usage would be to record what 
browser versions are in use and that data could be used to have a more 
tailored Supported Browser policy for the project.

In addition to improving the user experience, I am in a position at 
CloudBees where I have to decide how our employees time is being spent on 
the Blue Ocean project and having this data would help us spend this time 
more wisely.

The data collected here is intended for development only (e.g. not 
marketing or other nefarious purposes) and is available under the exact 
same terms as the Jenkins Usage Statistics (e.g. email me and I can give 
you access).

As for personally identifiable information, we strictly do not want to 
include this data in any user analytics. To ensure that we can identify a 
users click stream, we have taken a sha256 hash of the instances public key 
and the user ID and reported this back to the store as a key representing 
the user. It would be great to have any security conscious developers 
review this code [4].

If this turns out to be something useful we can look at opening it up to 
more plugins. For this initial spike we are using a service called Keen [5] 
but I would not be against pumping this data our to a service on Jenkins 
project infra (anyone want to write an analytics system?). 

[1] https://github.com/jenkinsci/blueocean-plugin/pull/1202 
[2] 
https://mixpanel.com/blog/2009/06/10/introduction-to-analytics-funnel-analysis/
[3] https://wiki.jenkins.io/display/JENKINS/Usage+Statistics
[4] 
https://github.com/jenkinsci/blueocean-plugin/blob/418a4cd2c8729be13a55db7a398140c55efb9e37/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/analytics/AbstractAnalytics.java#L64
 
[5] https://keen.io/

I will leave the PR unmerged for a week to hear out any objections, 
concerns, etc. 

Looking forward to your thoughts and feedback.

Cheers,

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9ccf7381-5a1a-4ed0-93cf-96a2635151cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to