<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 9:10 PM, Ken Finnigan <span dir="ltr"><<a href="mailto:ken@kenfinnigan.me" target="_blank">ken@kenfinnigan.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Would you be able to use the RHQ metrics module for this?</div></blockquote><div><br></div><div>I talked to Heiko about this; my understanding was it's not yet factored out into something that is re-usable. But the long-term goal is using their bits</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Or does it need to be something custom?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Ken</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Tue, Apr 22, 2014 at 6:57 AM, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr"><div>Hello,</div><div><br></div><div>second try - as the first thread was hijacked around other discussions.</div><div><br></div><div>For a first round of collecting some more data around the usage of the push server (aka analytics/metrics), I'd propose we keep it very simple!</div>
<div><br></div><div>Overall, I see one major area of interest:</div><div>*metrics around push messages being sent:</div><div>- time of sending (using timezone of the server?)</div><div>- group of receivers (e.g. everyone or the provided cirterias(e.g. alias, categories,...))</div>
<div>- payload (the entire payload, including custom keys - not only alert, sound, badge etc)</div><div>- info on: "could we deliver to the 3rd party networks?"</div><div><br></div><div><br></div><div>This is a nice feature, and would enrich the UPS. The server will have a RESTful endpoint, and an UI for displaying the data. The view would be bascially a history for all the push sent (per "Push Application" construct).</div>
<div><br></div><div><br></div><div>However, I can see also some interest around device specific metrics:</div><div><br></div><div>Today we obivously store all the registered devices, but we also remove them from the database table if needed (to not send messages to phones that would no longer receive them anyways).</div>
<div><br></div><div>Something that would be interesting as well, might be the following data:</div><div>- how often was an app has reached the push server (note: every time the app starts, the metadata of the server is being updated (see [2])</div>
<div>- number of device-tokens / registrationIDs that have been removed, when receiving errors from Apple/Google (see [3] or [4])</div><div>- number of devices, that were activly removed using our APIs (supported only on Android/SimplePush due to Apple policy, see [5])</div>
<div><br></div><div><br></div><div>While the initial focus should be around the message related metrics, capturing some device data is nice too.</div><div><br></div><div><br></div><div>Any thoughts ? </div><div><br></div>
<div>-Matthias</div><div><br></div><div><br></div><div>PS: Oh, for the longer run(...), I'd also like to see metrics like "was mobile app opened due to a push notification". BUT that also requires some more work/reseach on the client Push SDKs. But seriously, this is not a priority for the next few months! </div>
<div><br></div><div><br></div><div><br></div><div><br></div><div>[1] <a href="https://issues.jboss.org/browse/AGPUSH-116" target="_blank">https://issues.jboss.org/browse/AGPUSH-116</a></div><div>[2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L98-L112" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L98-L112</a></div>
<div>[3] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java#L87-L94" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java#L87-L94</a></div>
<div>[4] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/GCMPushNotificationSender.java#L93-L94" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/GCMPushNotificationSender.java#L93-L94</a></div>
<div>[5] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L117-L119" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L117-L119</a></div>
<span><font color="#888888">
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</font></span></div>
<br></div></div><div class="">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>