panmissl / javamelody

Automatically exported from code.google.com/p/javamelody
1 stars 0 forks source link

Turn off google analytics by default #191

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open any page
2. data is send to google

What is the expected output? What do you see instead?

An internal monitoring app should not send data to google without me knowing. 
Even if I do not give an analytics id, it will still contact google and try to 
send data. That is just plain wrong. This should be a completely optional 
feature.

What version of the product are you using?

1.34

Original issue reported on code.google.com by efeshund...@googlemail.com on 27 Feb 2012 at 10:22

GoogleCodeExporter commented 8 years ago
What plugin are you using please?

Original comment by evernat@free.fr on 27 Feb 2012 at 12:57

GoogleCodeExporter commented 8 years ago
we are using the javamelody war file to monitor a running jenkins instance.

Original comment by efeshund...@googlemail.com on 27 Feb 2012 at 4:02

GoogleCodeExporter commented 8 years ago
I suppose that somewhere you are in fact using the hpi file of the monitoring 
plugin for Jenkins.

Analytics is in the Jenkins plugin to report quantitative usage, and not to 
report any content of the monitoring data. Unlike many monitoring services, 
such as New Relic for example, the monitoring data of this Jenkins plugin is 
stored locally and not sent to a server on the Internet. You will perhaps 
appreciate the difference.

Please understand that there is Analytics because I really wish to know if the 
plugin is used. The analytics can't be disabled by default because it would 
make it pointless and I would not know. (And by the way, I am not paid for all 
this work over the years, and so it is also a way to know that all this freely 
given work is not useless).

These analytics, which is about the plugin's usage, is in my opinion rather 
similar to the data gathered by the Jenkins central infrastructure to report 
about Jenkins/plugins versions, so there is already usage report by Jenkins 
anyway. And note that the analytics data is not public.

And finally, a way was supposed to be available to disable the analytics, but I 
have just fixed/simplified this.
You can now disable the analytics by adding the following system property to 
the start of Jenkins (in the .jenkins/jenkins.xml file for example): 
"-Djavamelody.analytics-disabled"
I have made a new build for this property and a release was already planned "at 
the end of February":
http://javamelody.googlecode.com/files/monitoring-20120227.hpi
(you can rename to "monitoring.hpi" before installing)

I hope that it will suit you that way.
Of course, you are free to uninstall the plugin, or perhaps to help, with the 
translation for example.

Thanks for reading until here.

Side note: there is no analytics for the webapps monitored with the 
javamelody.jar file downloaded from the project's website or from the maven 
repository or from grails.org or built from sources.

Original comment by evernat@free.fr on 27 Feb 2012 at 8:35

GoogleCodeExporter commented 8 years ago
Thanks for the quick response and looking into this. I can see, that you are 
interested in usage data, but an opt-in is usually better than an opt-out. I 
only saw it, because I use http://www.ghostery.com in firefox, most other 
people don't have that. Maybe I overlooked it, but it would be just great, if 
everone just knew it upfront and could click "I'm cool with that.", then you 
don't play with the trust of people -- they tend to not like it :).

I am very happy that you got at the problem so quick and I am going to give 
that new version a try. Thanks again!

Original comment by efeshund...@googlemail.com on 27 Feb 2012 at 9:42