Syntax
nrSendSystemEvent(nr as Object, actionName as String, attr = invalid) as Void
Description
Send a system event, type ConnectedDeviceSystem.
Arguments
Arguments | Description |
---|---|
| New Relic Agent object. |
| Action name. |
| (optional) Attributes associative array. |
Return
Nothing.
Example
nrSendSystemEvent(m.nr, "MY_ACTION") attr = {"key0":"val0", "key1":"val1"} nrSendSystemEvent(m.nr, "MY_ACTION", attr)