Syntax
nrSetCustomAttributeList(nr as Object, attr as Object, actionName = "" as String) as Void
Description
Set a custom attribute list to be included in the events.
Arguments
Arguments | Description |
---|---|
| New Relic Agent object. |
| Attribute list, as an associative array. |
| (optional) Action where the attribute will be included. Default all actions. |
Return
Nothing.
Example
attr = {"key0":"val0", "key1":"val1"} nrSetCustomAttributeList(m.nr, attr, "CONTENT_HEARTBEAT")