Sintaxis
nrSendCustomEvent(nr as Object, eventType as String, actionName as String, attr = invalid as Object) as Void
Descripción
Enviar un evento personalizado.
Argumentos
Argumentos | Descripción |
---|---|
| Objeto agente New Relic . |
| Tipo de evento. |
| Nombre de la acción. |
| (opcional) atributo asociativo matriz. |
Devolver
Nada.
Ejemplo
nrSendCustomEvent(m.nr, "MyEvent", "MY_ACTION") attr = {"key0":"val0", "key1":"val1"} nrSendCustomEvent(m.nr, "MyEvent", "MY_ACTION", attr)