There has been dicussions about whether we should introduce a 'type' field for metrics records coming from the platform SDKs to the metrics server.
The required inclusions to the SDK were captured in issues AEROGEAR-2246 to AEROGEAR-2250 which include the introduction of a new field and adding of platform information in all metrics records (appId, SDK and app version, etc).
However further investigation was done in the
AEROGEAR-2336 spike and via further talks with David and Josemi and looking at the queries present in the current Grafana dashboard for app metrics
we've identified that the best course of action is to avoid these changes to the SDKs and adding of more data sent over the wire in favor of restructuring the storage done by the metrics service in a way that would also simplify the queries by Grafana
and most likely get some boosts in performance and maintainability.
As a result I'll be closing the SDK-related issues that are now invalid and creating a few new ones to capture the changes required in the existing queries,
so this post is for gathering possible feedback and opposition related to these actions.