[DAEMON-4] appcd: Add analytics facilities
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2016-03-25T23:27:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | appcd-core |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2016-02-04T00:04:55.000+0000 |
Updated | 2016-10-21T22:22:53.000+0000 |
Description
The appc daemon needs to provide a mechanism for services and the daemon itself to generate analytics events. These events are then sent to the Appcelerator cloud so that the products can be improved. Analytics payloads must be anonymous.
Analytics payload will include:
* Machine ID
* Session ID
* Timestamp
* Operating system
* CPU architecture (32/64-bit)
* Number of CPUs
* Total system memory
* Installed appcd plugin info
* appcd configuration
* Event name
* Event type (action, error, etc)
* Event metadata
All events must be persisted to separate files disk prior to sending to the cloud. Only one process can send an event at any given time.
The endpoint will be https://api.appcelerator.net/p/v2/partner-track. As a reference, here's Appc CLI's analytics library: https://github.com/appcelerator/appc-platform-sdk/blob/master/lib/analytics.js.
Appc Daemon's guid:
* Production: ea327577-858f-4d31-905e-fa670f50ef48
* Preprod: 14c84daf-b01e-486c-96d3-b8f66da44481
No comments