Custom attribute methods
Method | Description |
|---|---|
Set a custom attribute to be included in the events. | |
Set a custom attribute list to be included in the events. |
Examples
nrSetCustomAttribute
nrSetCustomAttribute(m.nr, "myNum", 123, "CONTENT_START") nrSetCustomAttribute(m.nr, "myString", "hello")nrSetCustomAttributeList
attr = {"key0":"val0", "key1":"val1"} nrSetCustomAttributeList(m.nr, attr, "CONTENT_HEARTBEAT")