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