You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -21,7 +21,7 @@ A org.rdk.Analytics plugin for Thunder framework.
21
21
<aname="Description"></a>
22
22
# Description
23
23
24
-
The `Analytics` plugin allows to send analytics events to dedicated backends.
24
+
The `Analytics` plugin allows to send analytics events to dedicated backends. Currently the SIFT backend is supported.
25
25
26
26
The plugin is designed to be loaded and executed within the Thunder framework. For more information about the framework refer to [[Thunder](#Thunder)].
27
27
@@ -36,6 +36,25 @@ The table below lists configuration options of the plugin.
36
36
| classname | string | Class name: *org.rdk.Analytics*|
| configuration.sift.maxrandomisationwindowtime | number | Sift uploader max randomisation window time of posting queued events in seconds |
50
+
| configuration.sift.maxeventsinpost | number | Sift uploader max events in single post |
51
+
| configuration.sift.maxretries | number | Sift uploader max retries posting events |
52
+
| configuration.sift.minretryperiod | number | Sift uploader min retry period seconds |
53
+
| configuration.sift.maxretryperiod | number | Sift uploader max retry period seconds |
54
+
| configuration.sift.exponentialperiodicfactor | number | Sift uploader exponential periodic factor for retry delay |
55
+
| configuration.sift.storepath | number | Sift store path to persistent queue with events |
56
+
| configuration.sift.eventslimit | number | Sift store events limit |
57
+
| configuration.sift.url | string | URL to Sift server endpoint |
39
58
40
59
<aname="Methods"></a>
41
60
# Methods
@@ -46,15 +65,13 @@ Analytics interface methods:
46
65
47
66
| Method | Description |
48
67
| :-------- | :-------- |
49
-
|[sendEvent](#sendEvent)| Send event |
50
-
|[setSessionId](#setSessionId)| Set the session ID for the analytics events |
51
-
|[setTimeReady](#setTimeReady)| Let the analytics plugin know that the system time is ready and valid |
68
+
|[sendEvent](#sendEvent)| Enqueue an event to be sent to the SIFT analytics backend |
52
69
53
70
54
71
<aname="sendEvent"></a>
55
72
## *sendEvent*
56
73
57
-
Send
74
+
Enqueue an event to be sent to the SIFT analytics backend.
58
75
59
76
### Events
60
77
@@ -73,4 +90,48 @@ No Events
73
90
| params.cetList[#]| string ||
74
91
| params?.epochTimestamp | integer | <sup>*(optional)*</sup> Timestamp for the START of this event, epoch time, in ms UTC |
75
92
| params?.uptimeTimestamp | integer | <sup>*(optional)*</sup> Timestamp for the START of this event, uptime of the device, in ms. ONLY to be used when Time quality is not good |
76
-
| params.eventPayload | object | The payload of the event |
93
+
| params.eventPayload | object | Custom payload of the event in JSON format. User defined colection of objects and keys. May be an empty object |
94
+
| params.eventPayload.keyOrObject | string | User defined custom key or object |
95
+
96
+
### Result
97
+
98
+
| Name | Type | Description |
99
+
| :-------- | :-------- | :-------- |
100
+
| result | string | On success null will be returned |
0 commit comments