@yoda/trace

Methods

(inner) upload(traces)

Upload buried data, failure to throw an exception, no callback.

Parameters:
Name Type Description
traces Array.<module:@yoda/trace~trace>

buried point data.

Example
upload([{"rokidDtId":"rokidDtId","eventId":"datacollection-test","eventName":"datacollection-test",
"eventType":1,"extraKvs":{},"k0":"test","v0":"test"}])

Type Definitions

trace

Properties:
Name Type Description
eventId string

defined by the product.

eventName string

defined by the product.

eventType number

0 basic data, 1 system events, 2 application events, 3 log event.

rokidDtId string

unique device identification.

k string

the k defined by the product, from 0 to 9, exceeds the use of extraKvs.

v string

that corresponds to k one by one.

extraKvs object

extension.