<div dir="ltr"><div>Hello,<br></div><div><br></div><div>for a first round of collection some more data around the usage of the push server (aka analytics/metrics), I&#39;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:<br></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><br></div><div><br></div><div>This is a nice feature, and would enrich the UPS.</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&#39;d also like to see metrics like &quot;was mobile app opened due to a push notification&quot;. 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">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">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">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">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">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>
<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>
</div>