[jitsi-dev] Adding an Analytics Service


#1

I was discussing adding an Analytics Service to Jitsi at Fosdem with Emil, but before checking anything in I thought I should check with the wider community.

I'm proposing to add a service that looks like the attached file. I'm also only planning to check in an implementation of this service that just throws away any analytics events it receives.

I firmly think we don't want analytics to be collected in the normal Jitsi builds, but Jitsi gets customized for rollout at companies where it might be really useful to track how internal users are using the client. In this case, people can add their own implementation of the analytics service to collect all the stats.

Thoughts?

Tom

AnalyticsService.java (647 Bytes)


#2

Hi Tom

Couldn't this be done by using the existing logger and adding a special
level to it (which eventually delegates it to some other location than the
standard log)? This sounds so similar and would give all the flexibility of
configuring it for certain classes or packages.

I'm a bit afraid of stuffing in a new service which might in the long term
end up in almost every package/bundle.

Ingo

From: Tom Denham [mailto:Tom.Denham@metaswitch.com]
Sent: Mittwoch, 6. Februar 2013 11:28
To: dev@jitsi.java.net
Subject: [jitsi-dev] Adding an Analytics Service
I was discussing adding an Analytics Service to Jitsi at Fosdem with
Emil, but before checking anything in I thought I should check with the
wider community.

I'm proposing to add a service that looks like the attached file. I'm also
only planning to check in an implementation of this service that just

throws

away any analytics events it receives.

I firmly think we don't want analytics to be collected in the normal Jitsi
builds, but Jitsi gets customized for rollout at companies where it might

be

really useful to track how internal users are using the client. In this

case,

people can add their own implementation of the analytics service to

collect

···

-----Original Message-----
all the stats.

Thoughts?

Tom


#3

Hi Ingo,
That sounds like a good suggestion. I'll take a look at the logging code and see how easy it is to implement.

Thanks
Tom

···

-----Original Message-----

From: Ingo Bauersachs [mailto:ingo@sip-communicator.org] On Behalf Of Ingo Bauersachs

Sent: 06 February 2013 10:42
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Adding an Analytics Service

Hi Tom

Couldn't this be done by using the existing logger and adding a special level to it (which eventually delegates it to some other location than the standard log)? This sounds so similar and would give all the flexibility of configuring it for certain classes or packages.

I'm a bit afraid of stuffing in a new service which might in the long term end up in almost every package/bundle.

Ingo

-----Original Message-----
From: Tom Denham [mailto:Tom.Denham@metaswitch.com]
Sent: Mittwoch, 6. Februar 2013 11:28
To: dev@jitsi.java.net
Subject: [jitsi-dev] Adding an Analytics Service I was discussing
adding an Analytics Service to Jitsi at Fosdem with Emil, but before
checking anything in I thought I should check with the wider
community.

I'm proposing to add a service that looks like the attached file. I'm
also only planning to check in an implementation of this service that
just

throws

away any analytics events it receives.

I firmly think we don't want analytics to be collected in the normal
Jitsi builds, but Jitsi gets customized for rollout at companies where
it might

be

really useful to track how internal users are using the client. In
this

case,

people can add their own implementation of the analytics service to

collect

all the stats.

Thoughts?

Tom